You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@iotdb.apache.org by ha...@apache.org on 2022/08/13 14:04:41 UTC
[iotdb] branch rel/0.13 updated: [To rel/0.13]Fix cross space compaction validation test (#6983)
This is an automated email from the ASF dual-hosted git repository.
haonan pushed a commit to branch rel/0.13
in repository https://gitbox.apache.org/repos/asf/iotdb.git
The following commit(s) were added to refs/heads/rel/0.13 by this push:
new 58b1fd12ee [To rel/0.13]Fix cross space compaction validation test (#6983)
58b1fd12ee is described below
commit 58b1fd12ee6741c4854fb6c5ad3df97026bca60b
Author: Liu Xuxin <37...@users.noreply.github.com>
AuthorDate: Sat Aug 13 22:04:34 2022 +0800
[To rel/0.13]Fix cross space compaction validation test (#6983)
---
.../apache/iotdb/db/engine/compaction/AbstractCompactionTest.java | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/server/src/test/java/org/apache/iotdb/db/engine/compaction/AbstractCompactionTest.java b/server/src/test/java/org/apache/iotdb/db/engine/compaction/AbstractCompactionTest.java
index beb2ee910c..0e97d6be7a 100644
--- a/server/src/test/java/org/apache/iotdb/db/engine/compaction/AbstractCompactionTest.java
+++ b/server/src/test/java/org/apache/iotdb/db/engine/compaction/AbstractCompactionTest.java
@@ -186,6 +186,12 @@ public class AbstractCompactionTest {
startTime + pointNum * i + timeInterval * i + pointNum - 1,
isAlign,
isSeq);
+ // sleep a moment to avoid generating files with same timestamp
+ try {
+ Thread.sleep(10);
+ } catch (Exception e) {
+
+ }
}
}