#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.
server/src/test/java/org/elasticsearch/cluster/coordination/AtomicRegisterCoordinatorTests.java
}
        @Override
        public CoordinationState.PersistedState createFreshPersistedState(
            DiscoveryNode localNode,
            BooleanSupplier disruptStorage,
            ThreadPool threadPool
        ) {
            return new AtomicRegisterPersistedState(localNode, sharedStore);
        }
        @Override
        public CoordinationState.PersistedState createPersistedStateFromExistingState(
            DiscoveryNode newLocalNode,
            CoordinationState.PersistedState oldState,
            Function<Metadata, Metadata> adaptGlobalMetadata,
            Function<Long, Long> adaptCurrentTerm,
            LongSupplier currentTimeInMillisSupplier,
            NamedWriteableRegistry namedWriteableRegistry,
            BooleanSupplier disruptStorage,
            ThreadPool threadPool
        ) {
            return new AtomicRegisterPersistedState(newLocalNode, sharedStore);
        }
        @Override
        public boolean verifyElectionSchedulerState(Cluster.ClusterNode clusterNode) {
            
            
            return (clusterNode.isRegisterDisconnected() || clusterNode.isRegisterBlackholed()) == false;
        }
    }
    static class AtomicRegisterElectionStrategy extends ElectionStrategy {