Skip to content

Commit e56f84b

Browse files
onebox-liRexXiong
authored andcommitted
[CELEBORN-1727][FOLLOWUP] Fix CelebornHashCheckDiskSuite flaky test
### What changes were proposed in this pull request? Fix CelebornHashCheckDiskSuite flaky test . ### Why are the changes needed? Ditto. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? UT. Closes #2937 from onebox-li/fix-flaky-test. Authored-by: onebox-li <lyh-36@163.com> Signed-off-by: Shuang <lvshuang.xjs@alibaba-inc.com> (cherry picked from commit 05ccd96) Signed-off-by: Shuang <lvshuang.xjs@alibaba-inc.com>
1 parent 10af172 commit e56f84b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

tests/spark-it/src/test/scala/org/apache/celeborn/tests/spark/CelebornHashCheckDiskSuite.scala

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,8 @@ class CelebornHashCheckDiskSuite extends SparkTestBase {
3838
CelebornConf.APPLICATION_HEARTBEAT_TIMEOUT.key -> "10s")
3939
val workerConf = Map(
4040
CelebornConf.WORKER_STORAGE_DIRS.key -> "/tmp:capacity=1000",
41-
CelebornConf.WORKER_HEARTBEAT_TIMEOUT.key -> "10s",
4241
CelebornConf.WORKER_DISK_RESERVE_SIZE.key -> "0G")
43-
workers = setupMiniClusterWithRandomPorts(masterConf, workerConf)._2
42+
workers = setupMiniClusterWithRandomPorts(masterConf, workerConf, 2)._2
4443
}
4544

4645
override def beforeEach(): Unit = {

0 commit comments

Comments
 (0)