[CELEBORN-1717] Fix ReusedExchangedSuit UT bug
### What changes were proposed in this pull request? The UT should test both ture and false condition ### Why are the changes needed? ### Does this PR introduce _any_ user-facing change? ### How was this patch tested? exiting UT Closes #2914 from zaynt4606/cmt-clb1717. Authored-by: zhengtao <shuaizhentao.szt@alibaba-inc.com> Signed-off-by: SteNicholas <programgeek@163.com>
This commit is contained in:
parent
11a4007965
commit
36ebdf07dc
@ -37,14 +37,14 @@ class ReusedExchangeSuite extends AnyFunSuite
|
||||
Array(true, false).foreach { chunkPrefetch =>
|
||||
test(s"[CELEBORN-980] Asynchronously delete original files" +
|
||||
s"to fix ReusedExchange bug, chunkPrefetch: $chunkPrefetch") {
|
||||
testReusedExchange(false, false)
|
||||
testReusedExchange(false, chunkPrefetch)
|
||||
}
|
||||
}
|
||||
|
||||
Array(true, false).foreach { chunkPrefetch =>
|
||||
test("[CELEBORN-1177] OpenStream should register stream via ChunkStreamManager" +
|
||||
s"to close stream for ReusedExchange, chunkPrefetch: $chunkPrefetch") {
|
||||
testReusedExchange(true, false)
|
||||
testReusedExchange(true, chunkPrefetch)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user