Skip to content

Commit

Permalink
[Java] await recently added subscription in StreamStatTest (#1733)
Browse files Browse the repository at this point in the history
  • Loading branch information
nbradac authored Jan 28, 2025
1 parent e390850 commit 7cbef12
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ void shouldCollectStreamStats()

final Subscription sub5 = aeron.addSubscription(pub4.channel(), pub4.streamId());
assertNotSame(sub4, sub5);
Tests.awaitConnected(sub4);
Tests.awaitConnected(sub5);
final CountingFragmentHandler sub1Handler = new CountingFragmentHandler(sub1);
final CountingFragmentHandler sub2Handler = new CountingFragmentHandler(sub2);
final CountingFragmentHandler sub4Handler = new CountingFragmentHandler(sub4);
Expand Down

0 comments on commit 7cbef12

Please sign in to comment.