Skip to content

Commit

Permalink
Fix another test
Browse files Browse the repository at this point in the history
  • Loading branch information
Кирилл committed Aug 27, 2024
1 parent 4943953 commit cce108e
Showing 1 changed file with 2 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -437,15 +437,9 @@ class GenericWsHeadTest {
Duration.ofSeconds(60),
)

StepVerifier.create(wsHead.getFlux())
StepVerifier.create(wsHead.headLiveness())
.then { wsHead.start() }
.expectNext(BlockContainer.from(block1))
.then {
StepVerifier.create(wsHead.headLiveness())
.expectNext(HeadLivenessState.FATAL_ERROR)
.thenCancel()
.verify(Duration.ofSeconds(2))
}
.expectNext(HeadLivenessState.FATAL_ERROR)
.thenCancel()
.verify(Duration.ofSeconds(3))

Expand Down

0 comments on commit cce108e

Please sign in to comment.