#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 innerRef.isRecycled();
                }
                @Override
                public void close() {
                    if (trackedRefs.remove(this)) {
                        innerRef.close();
                    }
                }
            };
            trackedRefs.add(trackedRef);
            return trackedRef;
        }
        /**
         * Release all tracked refs as if the node rebooted.
         */
        void clear() {
            for (V<BytesRef> trackedRef : List.copyOf(trackedRefs)) {
                trackedRef.close();
            }
            assert trackedRefs.isEmpty() : trackedRefs;
        }
    }
    public interface CoordinatorTestClusterStateUpdateTask extends ClusterStateTaskListener {
        default void clusterStateProcessed(ClusterState oldState, ClusterState newState) {}
    }
    class MockPersistedState implements CoordinationState.PersistedState {
        private final DiscoveryNode localNode;
        private final CoordinationState.PersistedState delegate;
        private final NodeEnvironment nodeEnvironment;
        private final BooleanSupplier disruptStorage;