Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import org.apache.iotdb.it.framework.IoTDBTestRunner;
import org.apache.iotdb.itbase.category.ClusterIT;
import org.apache.iotdb.itbase.category.LocalStandaloneIT;
import org.apache.iotdb.itbase.exception.InconsistentDataException;

import org.awaitility.Awaitility;
import org.junit.After;
Expand Down Expand Up @@ -515,6 +516,10 @@ private void validateResultSetEventually(Statement statement, String sql, String
.pollDelay(0, TimeUnit.MILLISECONDS)
.pollInterval(1, TimeUnit.SECONDS)
.atMost(30, TimeUnit.SECONDS)
// Cluster queries compare results from all DataNodes. Space quota usage is refreshed
// asynchronously by heartbeats, so the comparison can observe different snapshots while
// the usage converges. Awaitility does not retry runtime exceptions by default.
.ignoreExceptionsMatching(e -> e instanceof InconsistentDataException)
.untilAsserted(
() -> {
try {
Expand Down
Loading