summaryrefslogtreecommitdiff
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
commit9d3539e908b3266fdb7c010bb2d7f32401f36a2b (patch)
tree04cc215c61719d8344cc3a5b842b1c2aa4d303bc
parent8eae638319aa7ca9c1ddc84ae0756653d6f96cff (diff)
downloadrabbitmq-server-9d3539e908b3266fdb7c010bb2d7f32401f36a2b.tar.gz
Run the VQ tests both while embedding messages in the QI and sending them to the store.
-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 6d9606b5..870dfdd9 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