Skip to content

Commit

Permalink
Corrected WideStateGenerationSuite
Browse files Browse the repository at this point in the history
  • Loading branch information
xrtm000 committed Nov 14, 2023
1 parent 9b42216 commit ae8ed7f
Showing 1 changed file with 9 additions and 11 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
package com.wavesplatform.it.async

import java.util.concurrent.TimeoutException

import com.typesafe.config.{Config, ConfigFactory}
import com.wavesplatform.it._
import com.wavesplatform.it.api.AsyncHttpApi._
import com.wavesplatform.it.util._
import com.wavesplatform.it.*
import com.wavesplatform.it.api.AsyncHttpApi.*
import com.wavesplatform.it.util.*

import java.util.concurrent.TimeoutException
import scala.concurrent.Future.traverse
import scala.concurrent.duration._
import scala.concurrent.duration.*
import scala.concurrent.{Await, Future}

@LoadTest
Expand Down Expand Up @@ -83,11 +82,10 @@ class WideStateGenerationSuite extends BaseFreeSpec with WaitForHeight2 with Tra
for {
height <- node.height
blocks <- node.blockSeq(1, height)
} yield
withClue(s"all transactions in node") {
val txsInBlockchain = blocks.flatMap(_.transactions.map(_.id))
txIds should contain theSameElementsAs txsInBlockchain
}
} yield withClue(s"all transactions in node") {
val txsInBlockchain = blocks.flatMap(_.transactions.map(_.id))
txIds -- txsInBlockchain shouldBe empty
}
}

private def dumpBalances(): Future[Map[Config, Long]] = {
Expand Down

0 comments on commit ae8ed7f

Please sign in to comment.