Skip to content

Commit

Permalink
integration test: remove unused overloaded constructor (#5080)
Browse files Browse the repository at this point in the history
In PR #4512, the 2-arg variant of BaseIntegrationTest's constructor
was left temporarily, to allow echo2_integration_test.cc to compile.

This overloaded constructor can safely be removed once the following PR
is merged to the envoyproxy/envoy-filter-example repository:
envoyproxy/envoy-filter-example#69

Risk Level: Low
Testing: bazel test //test/...
Docs Changes: N/A
Release Notes: N/A

Signed-off-by: Tal Nordan <[email protected]>
  • Loading branch information
talnordan authored and htuch committed Nov 19, 2018
1 parent f9646c9 commit 6c2c7b5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 9 deletions.
2 changes: 1 addition & 1 deletion ci/build_setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ if [ "$1" != "-nofetch" ]; then
fi

# This is the hash on https://github.com/envoyproxy/envoy-filter-example.git we pin to.
(cd "${ENVOY_FILTER_EXAMPLE_SRCDIR}" && git fetch origin && git checkout -f 3e5b73305b961526ffcee7584251692a9a3ce4b3)
(cd "${ENVOY_FILTER_EXAMPLE_SRCDIR}" && git fetch origin && git checkout -f 6c0625cb4cc9a21df97cef2a1d065463f2ae81ae)
cp -f "${ENVOY_SRCDIR}"/ci/WORKSPACE.filter.example "${ENVOY_FILTER_EXAMPLE_SRCDIR}"/WORKSPACE
fi

Expand Down
8 changes: 0 additions & 8 deletions test/integration/integration.h
Original file line number Diff line number Diff line change
Expand Up @@ -126,14 +126,6 @@ class BaseIntegrationTest : Logger::Loggable<Logger::Id::testing> {
BaseIntegrationTest(Network::Address::IpVersion version, TestTimeSystemPtr time_system,
const std::string& config = ConfigHelper::HTTP_PROXY_CONFIG);

// TODO(jmarantz): this alternate constructor is a temporary hack to allow
// envoy-filter-example/echo2_integration_test.cc to compile so CI for #4512
// can pass. Once that passes, we can up update filter-examples so it can see
// the 3-arg version of BaseIntegrationTest, and remove this constructor
// variant.
BaseIntegrationTest(Network::Address::IpVersion version, const std::string& config)
: BaseIntegrationTest(version, realTime(), config) {}

virtual ~BaseIntegrationTest() {}

/**
Expand Down

0 comments on commit 6c2c7b5

Please sign in to comment.