diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2010-07-02 14:46:51 +0100 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2010-07-02 14:46:51 +0100 |
| commit | 654ceb7ac2260ba5fb6b36827764a06ff88568bd (patch) | |
| tree | b39c2ef58afd3952e41b8a99a2a7ec457896fefe /src | |
| parent | 2938cfac31bbb97513d5ae179ca248bfa07a5de3 (diff) | |
| download | rabbitmq-server-git-654ceb7ac2260ba5fb6b36827764a06ff88568bd.tar.gz | |
minor simplification of test
This isn't quite the same since rabbit_basic:build_content only
creates decoded properties, but for the test in question that doesn't
matter.
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_tests.erl | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/rabbit_tests.erl b/src/rabbit_tests.erl index 34eec12183..960d9a9c6a 100644 --- a/src/rabbit_tests.erl +++ b/src/rabbit_tests.erl @@ -953,11 +953,7 @@ test_memory_pressure() -> ok = test_memory_pressure_receive_flow(true), %% if we publish at this point, the channel should die - Content = #content{class_id = element(1, rabbit_framing:method_id( - 'basic.publish')), - properties = none, - properties_bin = <<>>, - payload_fragments_rev = []}, + Content = rabbit_basic:build_content([], <<>>), ok = rabbit_channel:do(Ch0, #'basic.publish'{}, Content), expect_normal_channel_termination(MRef0, Ch0), |
