Skip to content

Commit

Permalink
[test] Extend deadline to resolve flakiness (grpc#34776)
Browse files Browse the repository at this point in the history
  • Loading branch information
ctiller authored Oct 23, 2023
1 parent 88a353c commit 6278c49
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/core/end2end/tests/cancel_with_status.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand All @@ -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)
Expand All @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit 6278c49

Please sign in to comment.