Skip to content

Commit 68bcb84

Browse files
authored
remove clue inside an eventually() (#2209)
Signed-off-by: Itai Segall <itai.segall@digitalasset.com>
1 parent 1d2ad35 commit 68bcb84

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

apps/app/src/test/scala/org/lfdecentralizedtrust/splice/integration/tests/WalletTxLogTestUtil.scala

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -73,20 +73,20 @@ trait WalletTxLogTestUtil extends TestCommon with WalletTestUtil with TimeTestUt
7373

7474
// ingestion can happen in-between the call `actual=listTransactions()` and the paginated ones,
7575
// so both need to be inside the same `eventually` block
76-
clue("Paginated result should be equal to non-paginated result") {
77-
val paginatedResult = Iterator
78-
.unfold[Seq[TxLogEntry], Option[String]](None)(beginAfterId => {
79-
val page = wallet.listTransactions(beginAfterId, pageSize = 2)
80-
if (page.isEmpty)
81-
None
82-
else
83-
Some(page -> Some(page.last.eventId))
84-
})
85-
.toSeq
86-
.flatten
87-
88-
paginatedResult should contain theSameElementsInOrderAs actual
89-
}
76+
77+
// Confirm that the paginated result is equal to the non-paginated result
78+
val paginatedResult = Iterator
79+
.unfold[Seq[TxLogEntry], Option[String]](None)(beginAfterId => {
80+
val page = wallet.listTransactions(beginAfterId, pageSize = 2)
81+
if (page.isEmpty)
82+
None
83+
else
84+
Some(page -> Some(page.last.eventId))
85+
})
86+
.toSeq
87+
.flatten
88+
89+
paginatedResult should contain theSameElementsInOrderAs actual
9090
}
9191
}
9292

0 commit comments

Comments
 (0)