From a825814ffdccf4e9f2330a98a2e960d5aef9c4f4 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Tue, 2 Apr 2024 10:17:43 +0800 Subject: [PATCH] [UT] Fix testConcurrentlyDropDbAndCreateTable running too slow (backport #43470) (#43486) Co-authored-by: yiming <107105845+nshangyiming@users.noreply.github.com> --- .../src/test/java/com/starrocks/server/ConcurrentDDLTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fe/fe-core/src/test/java/com/starrocks/server/ConcurrentDDLTest.java b/fe/fe-core/src/test/java/com/starrocks/server/ConcurrentDDLTest.java index 849f7c9e721a3..4e149c51fe9e3 100644 --- a/fe/fe-core/src/test/java/com/starrocks/server/ConcurrentDDLTest.java +++ b/fe/fe-core/src/test/java/com/starrocks/server/ConcurrentDDLTest.java @@ -150,7 +150,7 @@ public void testConcurrentlyDropDbAndCreateTable() throws Exception { Thread controlThread = new Thread(() -> { int times = 0; Random random = new Random(); - while (times < 10) { + while (times < 5) { try { System.out.println("creating table and db time: " + times); starRocksAssert.withDatabase("concurrent_test_db");