Skip to content

Commit

Permalink
Fix another test (#558)
Browse files Browse the repository at this point in the history
  • Loading branch information
KirillPamPam authored Aug 27, 2024
1 parent 4943953 commit ad79f2c
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 ad79f2c

Please sign in to comment.