An incomplete shard snapshot will prevent a shard from moving away from a node (see `SnapshotInProgressAllocationDecider`). That means that when a shard snapshot completes it may become possible to perform some shard movements that previously were not possible, so we should trigger a reroute to start those movements. AFAICT we do not trigger such a reroute today.
test/framework/src/main/java/org/elasticsearch/test/ESTestCase.java
} finally {
            resetDeprecationLogger();
        }
    }
    /**
     * Reset the deprecation logger by clearing the current thread context.
     */
    private void resetDeprecationLogger() {
        
        threadContext.stashContext();
    }
    private static final List<StatusData> statusData = new ArrayList<>();
    static {
        
        StatusLogger.getLogger().setLevel(Level.WARN);
        
        
        StatusLogger.getLogger().registerListener(new StatusConsoleListener(Level.WARN) {
            @Override
            public void log(StatusData data) {
                synchronized (statusData) {
                    statusData.add(data);
                }
            }
        });
    }
    
    
    private static final List<String> LOG_4J_MSG_PREFIXES = List.of(
        "JNDI lookup class is not available because this JRE does not support JNDI. "