diff options
| author | Michael Klishin <mklishin@pivotal.io> | 2016-09-01 23:52:15 +0300 |
|---|---|---|
| committer | Michael Klishin <mklishin@pivotal.io> | 2016-09-01 23:52:15 +0300 |
| commit | cc6dbc706e7bd811a01c89a1cdafe7251aa3092f (patch) | |
| tree | 56a564d7ec852ce136d8a8b0002a12016c5b17ca /test | |
| parent | 6fd6548bb68356cceb50679767446a1ea0f3c55d (diff) | |
| download | rabbitmq-server-git-cc6dbc706e7bd811a01c89a1cdafe7251aa3092f.tar.gz | |
Make sure the argument to md5 is a binary in this test
Diffstat (limited to 'test')
| -rw-r--r-- | test/policy_SUITE.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/policy_SUITE.erl b/test/policy_SUITE.erl index 0920b25418..634f198858 100644 --- a/test/policy_SUITE.erl +++ b/test/policy_SUITE.erl @@ -130,7 +130,7 @@ publish(Ch, Q, Ps) -> publish1(Ch, Q, P) -> amqp_channel:cast(Ch, #'basic.publish'{routing_key = Q}, #amqp_msg{props = props(P), - payload = erlang:md5(P)}). + payload = erlang:md5(term_to_binary(P))}). publish1(Ch, Q, P, Pd) -> amqp_channel:cast(Ch, #'basic.publish'{routing_key = Q}, |
