Skip to content

Commit

Permalink
More extreme tests
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Jin Xuan <[email protected]>
  • Loading branch information
Stevenjin8 committed Nov 5, 2024
1 parent 0062734 commit 7f05fe3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions test/common/upstream/upstream_impl_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1566,8 +1566,8 @@ TEST_F(StrictDnsClusterImplTest, ExtremeJitter) {
connect_timeout: 0.25s
type: STRICT_DNS
lb_policy: ROUND_ROBIN
dns_refresh_rate: 4s
dns_jitter: 1s
dns_refresh_rate: 1s
dns_jitter: 1000s
respect_dns_ttl: true
load_assignment:
endpoints:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -676,12 +676,12 @@ TEST_F(LogicalDnsClusterTest, ExtremeJitter) {
const std::string jitter_yaml = R"EOF(
name: name
type: LOGICAL_DNS
dns_refresh_rate: 4s
dns_refresh_rate: 1s
dns_failure_refresh_rate:
base_interval: 7s
max_interval: 10s
connect_timeout: 0.25s
dns_jitter: 1s
dns_jitter: 1000s
lb_policy: ROUND_ROBIN
# Since the following expectResolve() requires Network::DnsLookupFamily::V4Only we need to set
# dns_lookup_family to V4_ONLY explicitly for v2 .yaml config.
Expand Down

0 comments on commit 7f05fe3

Please sign in to comment.