#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
"failed to write heartbeat for term [" + clusterNode.coordinator.getCurrentTerm() + "]"
                    )
                );
                cluster.runFor(HEARTBEAT_FREQUENCY.get(Settings.EMPTY).millis(), "warnings");
                mockAppender.assertAllExpectationsMatched();
                clusterNode.heal();
                coordinatorStrategy.disruptElections = true;
                mockAppender.addExpectation(
                    new MockLogAppender.SeenEventExpectation(
                        "acquire term failure",
                        Coordinator.class.getCanonicalName(),
                        Level.WARN,
                        "election attempt for [*] in term [" + (clusterNode.coordinator.getCurrentTerm() + 1) + "] failed"
                    )
                );
                cluster.runFor(DEFAULT_ELECTION_DELAY, "warnings");
                mockAppender.assertAllExpectationsMatched();
                coordinatorStrategy.disruptElections = false;
                coordinatorStrategy.disruptPublications = true;
                mockAppender.addExpectation(
                    new MockLogAppender.SeenEventExpectation(
                        "verify term failure",
                        Coordinator.CoordinatorPublication.class.getCanonicalName(),
                        Level.WARN,
                        "publication of cluster state version [*] in term [*] failed to commit after reaching quorum"
                    )
                );
                cluster.runFor(DEFAULT_ELECTION_DELAY + DEFAULT_CLUSTER_STATE_UPDATE_DELAY, "publication warnings");
                mockAppender.assertAllExpectationsMatched();
                coordinatorStrategy.disruptPublications = false;