#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 void testJoiningNodeReceivesFullState() {
        try (Cluster cluster = new Cluster(randomIntBetween(1, 5))) {
            cluster.runRandomly();
            cluster.stabilise();
            cluster.addNodesAndStabilise(1);
            final Cluster.ClusterNode newNode = cluster.clusterNodes.get(cluster.clusterNodes.size() - 1);
            final PublishClusterStateStats newNodePublishStats = newNode.coordinator.stats().getPublishStats();
            
            assertEquals(1L, newNodePublishStats.getFullClusterStateReceivedCount());
            
            assertEquals(0, newNodePublishStats.getCompatibleClusterStateDiffReceivedCount());
            assertEquals(0L, newNodePublishStats.getIncompatibleClusterStateDiffReceivedCount());
        }
    }
    @TestLogging(reason = "testing WARN logging", value = "org.elasticsearch.cluster.coordination:WARN")
    public void testWarnLoggingOnRegisterFailures() {
        try (Cluster cluster = new Cluster(1)) {
            final var coordinatorStrategy = (AtomicRegisterCoordinatorStrategy) cluster.getCoordinatorStrategy();
            cluster.runRandomly();
            cluster.stabilise();
            final var clusterNode = cluster.getAnyLeader();
            final var mockAppender = new MockLogAppender();
            try (var ignored = mockAppender.capturing(Coordinator.class, Coordinator.CoordinatorPublication.class)) {
                clusterNode.disconnect();
                mockAppender.addExpectation(
                    new MockLogAppender.SeenEventExpectation(
                        "write heartbeat failure",
                        Coordinator.class.getCanonicalName(),
                        Level.WARN,