From c4bb5e90d244f5ec6596d09829e01e18d023a19f Mon Sep 17 00:00:00 2001 From: wudi <676366545@qq.com> Date: Tue, 5 Mar 2024 17:13:59 +0800 Subject: [PATCH] fix --- .../src/test/java/org/apache/doris/flink/DorisTestBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisTestBase.java b/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisTestBase.java index 9d5281264..85e7fad75 100644 --- a/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisTestBase.java +++ b/flink-doris-connector/src/test/java/org/apache/doris/flink/DorisTestBase.java @@ -149,7 +149,7 @@ protected static void printClusterStatus() throws Exception { LOG.info("Current machine IP: {}", InetAddress.getLocalHost()); echo("sh", "-c", "cat /proc/cpuinfo | grep 'cpu cores' | uniq"); echo("sh", "-c", "free -h"); - echo("sh", "-c", "top"); + echo("sh", "-c", "top -n 1"); try (Connection connection = DriverManager.getConnection( String.format(URL, DORIS_CONTAINER.getHost()), USERNAME, PASSWORD);