~cjwatson/rabbitfixture/fix-test-stop-hang

Viewing all changes in revision 49.

  • Committer: Colin Watson
  • Date: 2021-02-01 10:28:42 UTC
  • Revision ID: cjwatson@canonical.com-20210201102842-4n3qy4om7sv0i4zr
Fix test_stop_hang failure introduced in 0.4.2.

In 0.4.2, I introduced a ctltimeout parameter to RabbitServerRunner to allow
overriding the default server control timeout, and converted test_stop_hang
to use it.  However, changing that test was a mistake: it only wants to
override ctltimeout while stopping the server, not while starting it, and
overriding it while starting the server results in a high probability of
timing out.  Revert the test changes to get the test suite working again.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: