[test] Extend deadline to resolve flakiness (#34776)

pull/34740/head
Craig Tiller 1 year ago committed by GitHub
parent 88a353c1ff
commit 6278c492a7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      test/core/end2end/tests/cancel_with_status.cc

@ -31,7 +31,7 @@ namespace grpc_core {
namespace {
CORE_END2END_TEST(CoreEnd2endTest, CancelWithStatus1) {
auto c = NewClientCall("/foo").Timeout(Duration::Seconds(5)).Create();
auto c = NewClientCall("/foo").Timeout(Duration::Minutes(1)).Create();
CoreEnd2endTest::IncomingStatusOnClient server_status;
c.NewBatch(1).RecvStatusOnClient(server_status);
char* dynamic_string = gpr_strdup("xyz");
@ -46,7 +46,7 @@ CORE_END2END_TEST(CoreEnd2endTest, CancelWithStatus1) {
}
CORE_END2END_TEST(CoreEnd2endTest, CancelWithStatus2) {
auto c = NewClientCall("/foo").Timeout(Duration::Seconds(5)).Create();
auto c = NewClientCall("/foo").Timeout(Duration::Minutes(1)).Create();
CoreEnd2endTest::IncomingMetadata server_initial_metadata;
CoreEnd2endTest::IncomingStatusOnClient server_status;
c.NewBatch(1)
@ -64,7 +64,7 @@ CORE_END2END_TEST(CoreEnd2endTest, CancelWithStatus2) {
}
CORE_END2END_TEST(CoreEnd2endTest, CancelWithStatus3) {
auto c = NewClientCall("/foo").Timeout(Duration::Seconds(5)).Create();
auto c = NewClientCall("/foo").Timeout(Duration::Minutes(1)).Create();
CoreEnd2endTest::IncomingMetadata server_initial_metadata;
CoreEnd2endTest::IncomingStatusOnClient server_status;
c.NewBatch(1)
@ -83,7 +83,7 @@ CORE_END2END_TEST(CoreEnd2endTest, CancelWithStatus3) {
}
CORE_END2END_TEST(CoreEnd2endTest, CancelWithStatus4) {
auto c = NewClientCall("/foo").Timeout(Duration::Seconds(5)).Create();
auto c = NewClientCall("/foo").Timeout(Duration::Minutes(1)).Create();
CoreEnd2endTest::IncomingMetadata server_initial_metadata;
CoreEnd2endTest::IncomingStatusOnClient server_status;
c.NewBatch(1)

Loading…
Cancel
Save