Commit 1fe4074
committed
fix timing and failure handling in testRestartingExpiry
...which was failing nearly all the time on my laptop
- publishing is async, so we don't know when the message has it the
server and hence the expiry timer starts. We could introduce a
confirm, but it's easier to just use the server restart as an
indicator.
- when the assertion fails we still need to delete the
queue. otherwise other tests using the same queue name, but
different params, will fail.1 parent 3a00b94 commit 1fe4074
File tree
1 file changed
+5
-5
lines changed- test/src/com/rabbitmq/client/test/functional
1 file changed
+5
-5
lines changedLines changed: 5 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
73 | | - | |
74 | | - | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
75 | 77 | | |
76 | | - | |
77 | | - | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
0 commit comments