@@ -156,20 +156,20 @@ public void testDescriptionBeforeBootstrapping() {
156156
157157 assertThat (new ClusterFormationState (Settings .EMPTY , clusterState , emptyList (), emptyList ()).getDescription (),
158158 is ("master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and " +
159- "cluster bootstrapping is disabled on this node: have discovered []; " +
159+ "[ cluster.initial_master_nodes] is empty on this node: have discovered []; " +
160160 "discovery will continue using [] from hosts providers and [" + localNode + "] from last-known cluster state" ));
161161
162162 final TransportAddress otherAddress = buildNewFakeTransportAddress ();
163163 assertThat (new ClusterFormationState (Settings .EMPTY , clusterState , singletonList (otherAddress ), emptyList ()).getDescription (),
164164 is ("master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and " +
165- "cluster bootstrapping is disabled on this node: have discovered []; " +
165+ "[ cluster.initial_master_nodes] is empty on this node: have discovered []; " +
166166 "discovery will continue using [" + otherAddress + "] from hosts providers and [" + localNode +
167167 "] from last-known cluster state" ));
168168
169169 final DiscoveryNode otherNode = new DiscoveryNode ("other" , buildNewFakeTransportAddress (), Version .CURRENT );
170170 assertThat (new ClusterFormationState (Settings .EMPTY , clusterState , emptyList (), singletonList (otherNode )).getDescription (),
171171 is ("master not discovered yet, this node has not previously joined a bootstrapped (v7+) cluster, and " +
172- "cluster bootstrapping is disabled on this node: have discovered [" + otherNode + "]; " +
172+ "[ cluster.initial_master_nodes] is empty on this node: have discovered [" + otherNode + "]; " +
173173 "discovery will continue using [] from hosts providers and [" + localNode + "] from last-known cluster state" ));
174174
175175 assertThat (new ClusterFormationState (Settings .builder ().put (INITIAL_MASTER_NODE_COUNT_SETTING .getKey (), 2 ).build (),
0 commit comments