[Flaky] max_connection_age test fix

pull/37739/head
Yash Tibrewal 5 months ago
parent 15085ea077
commit 5d677ef875
  1. 10
      test/core/end2end/tests/max_connection_age.cc

@ -162,10 +162,12 @@ CORE_END2END_TEST(Http2Test, MaxAgeGracefullyClose) {
Expect(101, false);
}
Step();
// The connection is closed gracefully with goaway, the rpc should still be
// completed.
EXPECT_EQ(server_status.status(), GRPC_STATUS_UNIMPLEMENTED);
EXPECT_EQ(server_status.message(), "xyz");
if (got_server) {
// The connection is closed gracefully with goaway, the rpc should still be
// completed.
EXPECT_EQ(server_status.status(), GRPC_STATUS_UNIMPLEMENTED);
EXPECT_EQ(server_status.message(), "xyz");
}
}
} // namespace

Loading…
Cancel
Save