#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
) {
            return new MockPersistedState(localNode, disruptStorage);
        }
        @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
        ) {
            assert oldState instanceof MockPersistedState : oldState.getClass();
            return new MockPersistedState(
                newLocalNode,
                (MockPersistedState) oldState,
                adaptGlobalMetadata,
                adaptCurrentTerm,
                currentTimeInMillisSupplier,
                namedWriteableRegistry,
                disruptStorage
            );
        }
    }
    protected CoordinatorStrategy createCoordinatorStrategy() {
        return new DefaultCoordinatorStrategy();
    }
    static class AckCollector implements ClusterStatePublisher.AckListener {