#98420 verifies that the election scheduler is not running when a cluster is stable, but this assertion does not hold in the `AtomicRegisterCoordinatorTests` suite. This issue tracks the work to investigate and fix up the problem.
test/framework/src/main/java/org/elasticsearch/cluster/coordination/AbstractCoordinatorTestCase.java
BooleanSupplier disruptStorage
        ) {
            this.localNode = newLocalNode;
            this.disruptStorage = disruptStorage;
            try {
                if (oldState.nodeEnvironment != null) {
                    nodeEnvironment = oldState.nodeEnvironment;
                    final Metadata updatedMetadata = adaptGlobalMetadata.apply(oldState.getLastAcceptedState().metadata());
                    final long updatedTerm = adaptCurrentTerm.apply(oldState.getCurrentTerm());
                    final Settings.Builder writerSettings = Settings.builder();
                    if (randomBoolean()) {
                        writerSettings.put(
                            PersistedClusterStateService.DOCUMENT_PAGE_SIZE.getKey(),
                            ByteSizeValue.ofBytes(randomLongBetween(1, 1024))
                        );
                    }
                    if (updatedMetadata != oldState.getLastAcceptedState().metadata() || updatedTerm != oldState.getCurrentTerm()) {
                        try (
                            PersistedClusterStateService.Writer writer = new PersistedClusterStateService(
                                nodeEnvironment,
                                xContentRegistry(),
                                new ClusterSettings(writerSettings.build(), ClusterSettings.BUILT_IN_CLUSTER_SETTINGS),
                                currentTimeInMillisSupplier
                            ).createWriter()
                        ) {
                            writer.writeFullStateAndCommit(
                                updatedTerm,
                                ClusterState.builder(oldState.getLastAcceptedState()).metadata(updatedMetadata).build()
                            );
                        }