Skip to content

Commit

Permalink
Dbg build knobs
Browse files Browse the repository at this point in the history
  • Loading branch information
yashykt committed Aug 18, 2022
1 parent a9a4bea commit 9b93d05
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions test/cpp/end2end/xds/xds_fault_injection_end2end_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,7 @@ TEST_P(FaultInjectionTest, XdsFaultInjectionPercentageAbortViaHeaders) {

TEST_P(FaultInjectionTest, XdsFaultInjectionPercentageDelay) {
CreateAndStartBackends(1);
const uint32_t kFixedDelayMilliseconds = 100000;
#ifndef NDEBUG
const uint32_t kRpcTimeoutMilliseconds = grpc_test_slowdown_factor() * 3000;
#else
const uint32_t kRpcTimeoutMilliseconds = grpc_test_slowdown_factor() * 6000;
#endif
const uint32_t kDelayPercentageCap = 100;
const uint32_t kFixedDelaySeconds = 100;
const uint32_t kDelayPercentagePerHundred = 50;
const double kDelayRate = kDelayPercentagePerHundred / 100.0;
Expand Down Expand Up @@ -256,11 +250,7 @@ TEST_P(FaultInjectionTest, XdsFaultInjectionPercentageDelay) {
TEST_P(FaultInjectionTest, XdsFaultInjectionPercentageDelayViaHeaders) {
CreateAndStartBackends(1);
const uint32_t kFixedDelayMilliseconds = 100000;
#ifndef NDEBUG
const uint32_t kRpcTimeoutMilliseconds = grpc_test_slowdown_factor() * 3000;
#else
const uint32_t kRpcTimeoutMilliseconds = grpc_test_slowdown_factor() * 6000;
#endif const uint32_t kDelayPercentageCap = 100;
const uint32_t kDelayPercentageCap = 100;
const uint32_t kDelayPercentage = 50;
const double kDelayRate = kDelayPercentage / 100.0;
Expand Down

0 comments on commit 9b93d05

Please sign in to comment.