summaryrefslogtreecommitdiff
path: root/check_xref
diff options
context:
space:
mode:
authorJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2020-03-09 18:36:13 +0100
committerJean-Sébastien Pédron <jean-sebastien@rabbitmq.com>2020-03-09 18:36:13 +0100
commitcb9e739d98f3924696ed2410715a188667ace496 (patch)
tree522bcfd0b2ed8a1d736639ac20353c71ca9fb5c9 /check_xref
parentf05114e8651ac1aebe5841d2d71bd64744391119 (diff)
downloadrabbitmq-server-git-cb9e739d98f3924696ed2410715a188667ace496.tar.gz
dynamic_ha_SUITE: Increase the chance of concurrent rebalances
... in `rebalance_multiple_blocked`. The testcase wants two rebalances to happen at the same time: the first one may succeed (but this is out of scope for this testcase) and the second one must be aborted with `{error, rebalance_in_progress}`. It looks like things are faster with Erlang 23 because the first rebalance is already finished when the second starts, probably due to internode communication being slower than rebalance (the two rebalances are triggered from the common_test node). This time, the testcase starts a function on the remote node which spawns two functions in parallel to request a rebalance. Everything being local, we increase the chance to have concurrent rebalances. We don't know the order of execution of the two functions, so we simply verify that one of them fails. This is still not 100% bullet proof, but should be ok.
Diffstat (limited to 'check_xref')
0 files changed, 0 insertions, 0 deletions