MeltwaterArchive/rabbit-puppy

x-messages-ttl is parsed as Double

svetob opened this issue · 1 comments

See this error from a verify run:

15:15:35.998 [main] ERROR c.m.p.a.VerifyConfigAction - queue 'queue-test@endtoend' exists but with wrong configuration: QueueData(durable=false, auto_delete=true, arguments={x-message-ttl=123.0}), expected: QueueData(durable=false, auto_delete=true, arguments={x-message-ttl=123})

This fails because it's parsed as Integer in one case and Double in another.

Solved by manually converting the value to Int, if we get more issues like this we can look at some more involved solution then.