summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDaniil Fedotov <dfedotov@pivotal.io>2016-11-11 18:00:36 +0000
committerDaniil Fedotov <dfedotov@pivotal.io>2016-11-11 18:00:36 +0000
commitcc75e5672ad23b63fb7c1f93e263b706a95d0cf6 (patch)
tree7d7eea904ccb08231ec5b46d5286795c1b2bdb27 /test
parent0b37027731d14c22e8aa0b9e45d7c3281b304509 (diff)
downloadrabbitmq-server-git-cc75e5672ad23b63fb7c1f93e263b706a95d0cf6.tar.gz
Avoid atom exhaustion in vhost message stores
Diffstat (limited to 'test')
-rw-r--r--test/channel_operation_timeout_test_queue.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/channel_operation_timeout_test_queue.erl b/test/channel_operation_timeout_test_queue.erl
index 07b1235672..5e256b1381 100644
--- a/test/channel_operation_timeout_test_queue.erl
+++ b/test/channel_operation_timeout_test_queue.erl
@@ -296,7 +296,7 @@ init(#amqqueue { name = QueueName, durable = IsDurable }, Terms,
{DeltaCount, DeltaBytes, IndexState} =
rabbit_queue_index:recover(
QueueName, RecoveryTerms,
- rabbit_msg_store_vhost_sup:successfully_recovered_state(?PERSISTENT_MSG_STORE),
+ rabbit_msg_store_vhost_sup:successfully_recovered_state(?PERSISTENT_MSG_STORE, VHost),
ContainsCheckFun, MsgIdxOnDiskFun, MsgAndIdxOnDiskFun),
init(IsDurable, IndexState, DeltaCount, DeltaBytes, RecoveryTerms,
PersistentClient, TransientClient).