diff --git a/test/extensions/common/tap/tap_matcher_test.cc b/test/extensions/common/tap/tap_matcher_test.cc index 2023f40d4f4df..9898c7b4ee892 100644 --- a/test/extensions/common/tap/tap_matcher_test.cc +++ b/test/extensions/common/tap/tap_matcher_test.cc @@ -31,12 +31,7 @@ class TapMatcherTest : public TapMatcherTestBase, public testing::Test { Http::TestResponseTrailerMapImpl response_trailers_; }; -// Base test class for config parameterized tests. -class TapMatcherGenericBodyConfigTest - : public TapMatcherTestBase, - public ::testing::TestWithParam< - std::tuple, size_t>>> { -}; +class TapMatcherGenericBodyConfigTest : public TapMatcherTestBase, public ::testing::Test {}; class TapMatcherGenericBodyTest : public TapMatcherTestBase, @@ -194,16 +189,6 @@ TEST_F(TapMatcherGenericBodyTest, WrongConfigTest) { ASSERT_ANY_THROW(TestUtility::loadFromYaml(matcher_yaml, config_)); } -INSTANTIATE_TEST_SUITE_P( - TapMatcherGenericBodyTestConfigSuite, TapMatcherGenericBodyConfigTest, - ::testing::Combine( - ::testing::Values(TapMatcherTestBase::Direction::Request, - TapMatcherTestBase::Direction::Response), - ::testing::Values( - // Should match - envoy is in the body - std::make_tuple(std::vector{" - string_match: \"envoy\""}, 5), - std::make_tuple(std::vector{" - string_match: \"envoy\""}, 5)))); - // Test different configurations against the body. // Parameterized test passes various configurations // which are appended to the yaml string.