diff options
| author | Michael Klishin <michael@clojurewerkz.org> | 2018-03-16 06:48:14 +0300 |
|---|---|---|
| committer | Michael Klishin <michael@clojurewerkz.org> | 2018-03-16 06:48:14 +0300 |
| commit | f14bf763ebdff5524d43e214ef9ced817939e088 (patch) | |
| tree | 1bffcb3c5ab52b46857f469086eb9861b6508a63 | |
| parent | 8b6d0ef7450754d47335e6fd5267236b957a0870 (diff) | |
| download | rabbitmq-server-git-f14bf763ebdff5524d43e214ef9ced817939e088.tar.gz | |
Clarify
| -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) -> |
