summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2014-12-11 17:04:50 +0000
committerSimon MacMullen <simon@rabbitmq.com>2014-12-11 17:04:50 +0000
commit5db2509f984cac384be0d94bc92b79c0bf5996fc (patch)
tree04cc215c61719d8344cc3a5b842b1c2aa4d303bc /test
parent109ba9349b8a6842b302d853fa0588a431a1acdf (diff)
downloadrabbitmq-server-git-5db2509f984cac384be0d94bc92b79c0bf5996fc.tar.gz
Run the VQ tests both while embedding messages in the QI and sending them to the store.
Diffstat (limited to 'test')
-rw-r--r--test/src/rabbit_tests.erl14
1 files changed, 9 insertions, 5 deletions
diff --git a/test/src/rabbit_tests.erl b/test/src/rabbit_tests.erl
index 6d9606b536..870dfdd99a 100644
--- a/test/src/rabbit_tests.erl
+++ b/test/src/rabbit_tests.erl
@@ -1888,11 +1888,15 @@ test_backing_queue() ->
passed = test_msg_store(),
application:set_env(rabbit, msg_store_file_size_limit,
FileSizeLimit),
- passed = test_queue_index(),
- passed = test_queue_index_props(),
- passed = test_variable_queue(),
- passed = test_variable_queue_delete_msg_store_files_callback(),
- passed = test_queue_recover(),
+ [begin
+ application:set_env(
+ rabbit, queue_index_embed_msgs_below, Bytes),
+ passed = test_queue_index(),
+ passed = test_queue_index_props(),
+ passed = test_variable_queue(),
+ passed = test_variable_queue_delete_msg_store_files_callback(),
+ passed = test_queue_recover()
+ end || Bytes <- [0, 1024]],
application:set_env(rabbit, queue_index_max_journal_entries,
MaxJournal),
%% We will have restarted the message store, and thus changed