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:53:14 +0300 |
| commit | d6234d9af10c6978940d7d5e9bfe69ade753e2bf (patch) | |
| tree | e90446a96222f414e04031c33f5d04df09ed7236 | |
| parent | 26376b8d0b9347f5c62e24b33b53f8e02b516c54 (diff) | |
| download | rabbitmq-server-git-d6234d9af10c6978940d7d5e9bfe69ade753e2bf.tar.gz | |
Make sure the argument to md5 is a binary in this 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}, |
