diff options
author | Matthias Radestock <matthias@rabbitmq.com> | 2010-07-06 07:37:21 +0100 |
---|---|---|
committer | Matthias Radestock <matthias@rabbitmq.com> | 2010-07-06 07:37:21 +0100 |
commit | f4684e5de685ebd7344a48e5872c7ed74eb9d7ab (patch) | |
tree | fae188ea455b43ea0802e8d8590e71c5404f23a6 | |
parent | 8af1cb807ba9ae63e6a67a81cb5f4bb71fb06ef0 (diff) | |
download | rabbitmq-server-f4684e5de685ebd7344a48e5872c7ed74eb9d7ab.tar.gz |
fix bugs in tests caught by dialyzer
these didn't actually cause anything to break
-rw-r--r-- | src/rabbit_tests.erl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl index 960d9a9c..48f313f9 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), |