Automated change: Fix sanity tests

pull/35195/head
ctiller 1 year ago committed by GitHub
parent 5026ea9dcc
commit 0e1117ac7a
  1. 2
      src/core/lib/iomgr/combiner.cc
  2. 9
      test/core/bad_client/tests/initial_settings_frame.cc

@ -258,7 +258,7 @@ bool grpc_combiner_continue_exec_ctx() {
// Define a macro to ease readability of the following switch statement. // Define a macro to ease readability of the following switch statement.
#define OLD_STATE_WAS(orphaned, elem_count) \ #define OLD_STATE_WAS(orphaned, elem_count) \
(((orphaned) ? 0 : STATE_UNORPHANED) | \ (((orphaned) ? 0 : STATE_UNORPHANED) | \
((elem_count) * STATE_ELEM_COUNT_LOW_BIT)) ((elem_count)*STATE_ELEM_COUNT_LOW_BIT))
// Depending on what the previous state was, we need to perform different // Depending on what the previous state was, we need to perform different
// actions. // actions.
switch (old_state) { switch (old_state) {

@ -200,11 +200,10 @@ int main(int argc, char** argv) {
GRPC_BAD_CLIENT_DISCONNECT); GRPC_BAD_CLIENT_DISCONNECT);
// too many requests before the settings ack is sent should be cancelled // too many requests before the settings ack is sent should be cancelled
GRPC_RUN_BAD_CLIENT_TEST( GRPC_RUN_BAD_CLIENT_TEST(single_request_verifier, nullptr,
single_request_verifier, nullptr, PFX_STR ZERO_SETTING_HDR FOOBAR_0 FOOBAR_2
PFX_STR ZERO_SETTING_HDR FOOBAR_0 FOOBAR_2 SETTING_ACK RST_STREAM_1 RST_STREAM_3 SETTING_ACK RST_STREAM_1 RST_STREAM_3 FOOBAR_1,
FOOBAR_1, GRPC_BAD_CLIENT_MAX_CONCURRENT_REQUESTS_OF_ONE);
GRPC_BAD_CLIENT_MAX_CONCURRENT_REQUESTS_OF_ONE);
grpc_shutdown(); grpc_shutdown();
return 0; return 0;

Loading…
Cancel
Save