Skip to content

Commit 2bec9c7

Browse files
authored
Disable the last cache for some last-related tests temporarily
1 parent db0c69a commit 2bec9c7

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

integration-test/src/test/java/org/apache/iotdb/relational/it/query/recent/IoTDBTableAggregation2IT.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public static void setUp() {
3939
EnvFactory.getEnv().getConfig().getCommonConfig().setMaxTsBlockSizeInByte(4 * 1024);
4040
EnvFactory.getEnv().getConfig().getCommonConfig().setTimePartitionInterval(5_000);
4141
EnvFactory.getEnv().getConfig().getCommonConfig().setDataPartitionAllocationStrategy(SHUFFLE);
42+
EnvFactory.getEnv().getConfig().getCommonConfig().setEnableLastCache(false);
4243
EnvFactory.getEnv().initClusterEnvironment();
4344
prepareTableData(createSqls);
4445
}

integration-test/src/test/java/org/apache/iotdb/relational/it/query/recent/IoTDBTableAggregationNonStream2IT.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public static void setUp() {
3939
EnvFactory.getEnv().getConfig().getCommonConfig().setMaxTsBlockSizeInByte(4 * 1024);
4040
EnvFactory.getEnv().getConfig().getCommonConfig().setTimePartitionInterval(5_000);
4141
EnvFactory.getEnv().getConfig().getCommonConfig().setDataPartitionAllocationStrategy(SHUFFLE);
42+
EnvFactory.getEnv().getConfig().getCommonConfig().setEnableLastCache(false);
4243
EnvFactory.getEnv().initClusterEnvironment();
4344
String original = createSqls[2];
4445
// make 'province', 'city', 'region' be FIELD to cover cases using GroupedAccumulator

0 commit comments

Comments
 (0)