Skip to content

Commit 6da4fa3

Browse files
committed
drain twice
1 parent 878c282 commit 6da4fa3

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/test_stream_manager.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1444,6 +1444,9 @@ TEST_CASE(h2_sm_mock_max_concurrent_streams_multiple_connections) {
14441444
ASSERT_SUCCESS(s_complete_all_fake_connection_streams());
14451445
fprintf(stderr, "[EXTRA_LOG] Test completed successfully\n");
14461446
s_drain_all_fake_connection_testing_channel();
1447+
/* completed the remain streams that can be created afterwards */
1448+
ASSERT_SUCCESS(s_complete_all_fake_connection_streams());
1449+
s_drain_all_fake_connection_testing_channel();
14471450
/* Should complete without error */
14481451
ASSERT_INT_EQUALS(0, s_tester.stream_complete_errors);
14491452
ASSERT_INT_EQUALS(AWS_ERROR_SUCCESS, s_tester.stream_completed_error_code);

0 commit comments

Comments
 (0)