Skip to content

Commit 933750c

Browse files
committed
skip 2 tests
1 parent 7c8db5f commit 933750c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/storage/table_test.cc

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1194,6 +1194,11 @@ TEST_P(TableTest, AbsOrLatSetGet) {
11941194
TEST_P(TableTest, GcAbsOrLat) {
11951195
::openmldb::common::StorageMode storageMode = GetParam();
11961196

1197+
// RecordIdxCnt in disktable only support abs TTL and lat TTL
1198+
if (storageMode != openmldb::common::kMemory) {
1199+
GTEST_SKIP();
1200+
}
1201+
11971202
::openmldb::api::TableMeta table_meta;
11981203
table_meta.set_name("table1");
11991204
std::string table_path = "";
@@ -1322,6 +1327,11 @@ TEST_P(TableTest, GcAbsOrLat) {
13221327
TEST_P(TableTest, GcAbsAndLat) {
13231328
::openmldb::common::StorageMode storageMode = GetParam();
13241329

1330+
// RecordIdxCnt in disktable only support abs TTL and lat TTL
1331+
if (storageMode != openmldb::common::kMemory) {
1332+
GTEST_SKIP();
1333+
}
1334+
13251335
::openmldb::api::TableMeta table_meta;
13261336
table_meta.set_name("table1");
13271337
std::string table_path = "";

0 commit comments

Comments
 (0)