Skip to content

Commit 9024297

Browse files
committed
fix ut test
1 parent baf49ca commit 9024297

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

iotdb-core/datanode/src/test/java/org/apache/iotdb/db/queryengine/execution/fragment/FragmentInstanceExecutionTest.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ public void testAlignedTVListPartialColumnClone() {
265265
IWritableMemChunk memChunk = memChunkGroup.getMemChunkMap().values().iterator().next();
266266
TVList tvList = memChunk.getWorkingTVList();
267267
assertFalse(tvList.isSorted());
268-
assertEquals(6424, tvList.calculateRamSize());
268+
assertEquals(6424, tvList.calculateRamSize().getRamSize());
269269
assertEquals(100, tvList.rowCount());
270270

271271
// FragmentInstance Context
@@ -297,7 +297,7 @@ public void testAlignedTVListPartialColumnClone() {
297297
memTable.query(context2, fullPath2, Long.MIN_VALUE, null, null);
298298

299299
// Only cloned sensor_2 and sensor_0 exist
300-
assertEquals(3352, tvList.calculateRamSize());
300+
assertEquals(3352, tvList.calculateRamSize().getRamSize());
301301
assertEquals(100, tvList.rowCount());
302302

303303
} catch (Exception e) {

0 commit comments

Comments
 (0)