In #86101 we added a warning if bootstrapping was incorrectly configured (and in #92744 we changed it to be emitted every 12h). The logic introduced doesn't take account of `discovery.type: single-node`, so explicitly-single-node clusters will always emit this warning even though they are correctly configured.

Relates https://github.com/elastic/elasticsearch/issues/58393.
server/src/test/java/org/elasticsearch/cluster/coordination/ClusterBootstrapServiceTests.java
Collections::emptyList,
                () -> false,
                vc -> {
                    throw new AssertionError("should not be called");
                }
            ).logBootstrapState(metadataBuilder.build());
            mockAppender.assertAllExpectationsMatched();
            mockAppender.addExpectation(
                new MockLogAppender.SeenEventExpectation(
                    "bootstrapped node message",
                    ClusterBootstrapService.class.getCanonicalName(),
                    Level.INFO,
                    "this node is locked into cluster UUID [test-uuid] and will not attempt further cluster bootstrapping"
                )
            );
            new ClusterBootstrapService(Settings.EMPTY, transportService, Collections::emptyList, () -> false, vc -> {
                throw new AssertionError("should not be called");
            }).logBootstrapState(Metadata.builder().clusterUUID("test-uuid").clusterUUIDCommitted(true).build());
            mockAppender.assertAllExpectationsMatched();
            final var warningMessagePattern = """
                this node is locked into cluster UUID [test-uuid] but [cluster.initial_master_nodes] is set to [node1, node2]; \
                remove this setting to avoid possible data loss caused by subsequent cluster bootstrap attempts; \
                for further information see \
                https:
            mockAppender.addExpectation(
                new MockLogAppender.SeenEventExpectation(
                    "bootstrapped node message if bootstrapping still configured",
                    ClusterBootstrapService.class.getCanonicalName(),
                    Level.WARN,
                    warningMessagePattern