@Test
    @Order(1)
    public void initUpstreamCacheManagerTest() throws InterruptedException {
        final ShenyuConfig shenyuConfig = new ShenyuConfig();
        shenyuConfig.getUpstreamCheck().setEnabled(true);
        shenyuConfig.getUpstreamCheck().setPrintEnabled(true);
        shenyuConfig.getUpstreamCheck().setPrintInterval(1);
        Singleton.INST.single(ShenyuConfig.class, shenyuConfig);
        Assertions.assertNotNull(UpstreamCacheManager.getInstance());
        Thread.sleep(3);
    }
The type UpstreamCacheManager check task test.
shenyu-loadbalancer/src/test/java/org/apache/shenyu/loadbalancer/cache/UpstreamCacheManagerTest.java