Skip to content

Commit

Permalink
fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
sunxiaojian committed Aug 12, 2024
1 parent 44e1b87 commit 2ec649e
Showing 1 changed file with 0 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,17 +120,12 @@ public class TiDBTestBase extends TestSuiteBase {
.withLogConsumer(new Slf4jLogConsumer(log));

public static void startContainers() throws Exception {
// Add jvm dns cache for flink to invoke pd interface.
// DnsCacheManipulator.setDnsCache(PD_SERVICE_NAME, "127.0.0.1");
// DnsCacheManipulator.setDnsCache(TIKV_SERVICE_NAME, "127.0.0.1");
log.info("Starting containers...");
Startables.deepStart(Stream.of(PD, TIKV, TIDB)).join();
log.info("Containers are started.");
}

public static void stopContainers() {
// DnsCacheManipulator.removeDnsCache(PD_SERVICE_NAME);
// DnsCacheManipulator.removeDnsCache(TIKV_SERVICE_NAME);
Stream.of(TIKV, PD, TIDB).forEach(GenericContainer::stop);
}

Expand Down

0 comments on commit 2ec649e

Please sign in to comment.