Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Jin Xuan <[email protected]>
  • Loading branch information
Stevenjin8 authored and phlax committed Dec 5, 2024
1 parent d95810a commit b12f294
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/common/upstream/upstream_impl_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1513,7 +1513,7 @@ TEST_F(StrictDnsClusterImplTest, NegativeDnsJitter) {
false);
EXPECT_THROW_WITH_MESSAGE(
auto x = *StrictDnsClusterImpl::create(cluster_config, factory_context, dns_resolver_),
EnvoyException, "Invalid duration: Expected positive duration: seconds: -1\n");
EnvoyException, "Expected positive duration: seconds: -1\n");
}
TEST_F(StrictDnsClusterImplTest, TtlAsDnsRefreshRateYesJitter) {
ResolverData resolver(*dns_resolver_, server_context_.dispatcher_);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -667,7 +667,7 @@ TEST_F(LogicalDnsClusterTest, NegativeDnsJitter) {
port_value: 443
)EOF";
EXPECT_THROW_WITH_MESSAGE(setupFromV3Yaml(yaml, false), EnvoyException,
"Invalid duration: Expected positive duration: seconds: -1\n");
"Expected positive duration: seconds: -1\n");
}

TEST_F(LogicalDnsClusterTest, ExtremeJitter) {
Expand Down

0 comments on commit b12f294

Please sign in to comment.