summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2010-07-06 07:37:21 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2010-07-06 07:37:21 +0100
commit81b3f9ffbe058f221e3b9d0aceab328d0079e03b (patch)
treefae188ea455b43ea0802e8d8590e71c5404f23a6 /src
parentcf86b976d4b0be38c973352e1130ca993b7b01d5 (diff)
downloadrabbitmq-server-git-81b3f9ffbe058f221e3b9d0aceab328d0079e03b.tar.gz
fix bugs in tests caught by dialyzer
these didn't actually cause anything to break
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_tests.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl
index 960d9a9c6a..48f313f959 100644
--- a/src/rabbit_tests.erl
+++ b/src/rabbit_tests.erl
@@ -359,7 +359,7 @@ test_content_framing(FrameMax, Fragments) ->
[Header | Frames] =
rabbit_binary_generator:build_simple_content_frames(
1,
- #content{class_id = 0, properties_bin = <<>>,
+ #content{class_id = 60, properties = none, properties_bin = <<>>,
payload_fragments_rev = Fragments},
FrameMax),
%% header is formatted correctly and the size is the total of the
@@ -953,7 +953,7 @@ test_memory_pressure() ->
ok = test_memory_pressure_receive_flow(true),
%% if we publish at this point, the channel should die
- Content = rabbit_basic:build_content([], <<>>),
+ Content = rabbit_basic:build_content(#'P_basic'{}, <<>>),
ok = rabbit_channel:do(Ch0, #'basic.publish'{}, Content),
expect_normal_channel_termination(MRef0, Ch0),