private void waitFinish() {
        // wait all check success
        CompletableFuture.allOf(futures.toArray(new CompletableFuture[0])).join();
        // clear, for next time
        futures.clear();
    }
Replace.

@param selectorId      the selector name
@param commonUpstreams the common upstream list
shenyu-admin/src/main/java/org/apache/shenyu/admin/service/impl/UpstreamCheckService.java