#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
}
    
    
    
    
    
    
    
    
    
    
    public static final int CLUSTER_STATE_UPDATE_NUMBER_OF_DELAYS = 9;
    public static final long DEFAULT_CLUSTER_STATE_UPDATE_DELAY = CLUSTER_STATE_UPDATE_NUMBER_OF_DELAYS * DEFAULT_DELAY_VARIABILITY;
    private static final int ELECTION_RETRIES = 10;
    
    public static final long DEFAULT_ELECTION_DELAY
    
        = defaultMillis(DISCOVERY_FIND_PEERS_INTERVAL_SETTING) * 2
            
            + defaultMillis(ELECTION_INITIAL_TIMEOUT_SETTING) * ELECTION_RETRIES + defaultMillis(ELECTION_BACK_OFF_TIME_SETTING)
                * ELECTION_RETRIES * (ELECTION_RETRIES - 1) / 2 + defaultMillis(ELECTION_DURATION_SETTING) * ELECTION_RETRIES
            
            + 4 * DEFAULT_DELAY_VARIABILITY
            
            + DEFAULT_CLUSTER_STATE_UPDATE_DELAY;
    public static final long DEFAULT_STABILISATION_TIME =
        
        (defaultMillis(LEADER_CHECK_INTERVAL_SETTING) + defaultMillis(LEADER_CHECK_TIMEOUT_SETTING)) * defaultInt(
            LEADER_CHECK_RETRY_COUNT_SETTING
        )