Skip to content

Commit 403cfd7

Browse files
committed
maybe fix test that works locally but doesn't in CI?
Signed-off-by: Tim Farber-Newman <[email protected]>
1 parent a4d18d7 commit 403cfd7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

hedera-node/hedera-app/src/test/java/com/hedera/node/app/blocks/impl/streaming/BlockNodeServiceConnectionTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,7 @@ void testClose_interrupted() throws Exception {
375375
assertThat(thread.isInterrupted()).isFalse();
376376
thread.start();
377377
assertThat(latch.await(2, TimeUnit.SECONDS)).isTrue();
378+
assertThat(thread.join(Duration.ofSeconds(2))).isTrue();
378379

379380
assertThat(errorRef).hasNullValue(); // error should not be propagated
380381
assertThat(thread.isInterrupted()).isTrue();

0 commit comments

Comments
 (0)