summaryrefslogtreecommitdiff
path: root/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpp')
-rw-r--r--cpp/src/tests/perftest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/perftest.cpp b/cpp/src/tests/perftest.cpp
index d9316527bc..4db90fd7be 100644
--- a/cpp/src/tests/perftest.cpp
+++ b/cpp/src/tests/perftest.cpp
@@ -79,7 +79,7 @@ void setup() {
session.queueDeclare(arg::queue="control"); // Control queue
session.queuePurge(arg::queue="control");
if (mode==SHARED) {
- session.queueDeclare(arg::queue="perftest"); // Shared data queue
+ session.queueDeclare(arg::queue="perftest", arg::durable=opts.durable); // Shared data queue
session.queuePurge(arg::queue="perftest");
}
session.close();