Skip to content

Commit b7a756c

Browse files
Clarify
(cherry picked from commit f14bf76)
1 parent 854c890 commit b7a756c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

test/clustering_management_SUITE.erl

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,11 @@ wait_fails_when_cluster_fails(Config) ->
640640
concurrent_default_data_creation(Config) ->
641641
[Rabbit, Hare] = rabbit_ct_broker_helpers:get_node_configs(Config,
642642
nodename),
643-
%% Run multiple times to detect race.
643+
%% Run multiple times to detect a race.
644+
%% This test simulates cocurrent database initialisation.
645+
%% Since this is node-local state, in practice this can only
646+
%% happen when a new cluster is formed and two nodes are booting
647+
%% at roughly the same time (say, within a couple of ms from each other).
644648
[concurrent_default_data_creation1(Rabbit, Hare) || _ <- lists:seq(1, 20)].
645649

646650
concurrent_default_data_creation1(Rabbit, Hare) ->

0 commit comments

Comments
 (0)