summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/tests/ClusterFailover.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/ClusterFailover.cpp b/cpp/src/tests/ClusterFailover.cpp
index c2fb1282b1..5ecc25659c 100644
--- a/cpp/src/tests/ClusterFailover.cpp
+++ b/cpp/src/tests/ClusterFailover.cpp
@@ -58,7 +58,7 @@ QPID_AUTO_TEST_CASE(testReconnectSameSessionName) {
ClusterFixture::Args args = list_of<string>("--auth")("no")("--no-module-dir")("--no-data-dir")("--load-module")(clusterLib.str());
ClusterFixture cluster(2, args, -1);
Client c0(cluster[0], "foo");
- cluster.kill(0, 9);
+ cluster.killWithSilencer(0, c0.connection, 9);
Client c1(cluster[1], "foo"); // Using same name, should be cleaned up.
}