File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1340,6 +1340,10 @@ TEST_CASE(h2_sm_mock_max_concurrent_streams) {
13401340
13411341 /* Complete all remaining streams */
13421342 ASSERT_SUCCESS (s_complete_all_fake_connection_streams ());
1343+ s_drain_all_fake_connection_testing_channel ();
1344+ /* Should complete without error */
1345+ ASSERT_INT_EQUALS (0 , s_tester .stream_complete_errors );
1346+ ASSERT_INT_EQUALS (AWS_ERROR_SUCCESS , s_tester .stream_completed_error_code );
13431347
13441348 return s_tester_clean_up ();
13451349}
@@ -1432,6 +1436,10 @@ TEST_CASE(h2_sm_mock_max_concurrent_streams_multiple_connections) {
14321436 fprintf (stderr , "[EXTRA_LOG] Completing all fake connection streams...\n" );
14331437 ASSERT_SUCCESS (s_complete_all_fake_connection_streams ());
14341438 fprintf (stderr , "[EXTRA_LOG] Test completed successfully\n" );
1439+ s_drain_all_fake_connection_testing_channel ();
1440+ /* Should complete without error */
1441+ ASSERT_INT_EQUALS (0 , s_tester .stream_complete_errors );
1442+ ASSERT_INT_EQUALS (AWS_ERROR_SUCCESS , s_tester .stream_completed_error_code );
14351443
14361444 return s_tester_clean_up ();
14371445}
You can’t perform that action at this time.
0 commit comments