diff options
| author | Michael Klishin <michael@clojurewerkz.org> | 2018-03-16 06:48:14 +0300 |
|---|---|---|
| committer | Michael Klishin <michael@clojurewerkz.org> | 2018-03-16 17:14:12 +0300 |
| commit | b7a756c5ec573c88582a8a713920b762b1cb2d4c (patch) | |
| tree | 415be3282f947cb0fb3d37f25890529bb295f1f8 /test | |
| parent | 854c89049219d5c1cc954b952dd0f1305583f239 (diff) | |
| download | rabbitmq-server-git-b7a756c5ec573c88582a8a713920b762b1cb2d4c.tar.gz | |
Clarify
(cherry picked from commit f14bf763ebdff5524d43e214ef9ced817939e088)
Diffstat (limited to 'test')
| -rw-r--r-- | test/clustering_management_SUITE.erl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/test/clustering_management_SUITE.erl b/test/clustering_management_SUITE.erl index 559c8f1e92..53ce081cf8 100644 --- a/test/clustering_management_SUITE.erl +++ b/test/clustering_management_SUITE.erl @@ -640,7 +640,11 @@ wait_fails_when_cluster_fails(Config) -> concurrent_default_data_creation(Config) -> [Rabbit, Hare] = rabbit_ct_broker_helpers:get_node_configs(Config, nodename), - %% Run multiple times to detect race. + %% Run multiple times to detect a race. + %% This test simulates cocurrent database initialisation. + %% Since this is node-local state, in practice this can only + %% happen when a new cluster is formed and two nodes are booting + %% at roughly the same time (say, within a couple of ms from each other). [concurrent_default_data_creation1(Rabbit, Hare) || _ <- lists:seq(1, 20)]. concurrent_default_data_creation1(Rabbit, Hare) -> |
