Skip to content

Commit

Permalink
update regression
Browse files Browse the repository at this point in the history
  • Loading branch information
yujun777 committed Jan 30, 2024
1 parent 25c75f4 commit e68100e
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,19 +98,19 @@ suite("test_map_load_and_compaction", "p0") {

// check here 2 rowsets
//TabletId,ReplicaId,BackendId,SchemaHash,Version,LstSuccessVersion,LstFailedVersion,LstFailedTime,LocalDataSize,RemoteDataSize,RowCount,State,LstConsistencyCheckTime,CheckVersion,VersionCount,PathHash,MetaUrl,CompactionStatus
String[][] tablets = sql """ show tablets from ${testTable}; """
String[] tablet = tablets[0]
def tablets = sql_return_maparray """ show tablets from ${testTable}; """
def tablet = tablets[0]
// check rowsets number
String compactionStatus = tablet[18]
String compactionStatus = tablet.CompactionStatus
checkCompactionStatus.call(compactionStatus, 6)

// trigger compaction
String backend_id;
def backendId_to_backendIP = [:]
def backendId_to_backendHttpPort = [:]
getBackendIpHttpPort(backendId_to_backendIP, backendId_to_backendHttpPort);
String tablet_id = tablet[0]
backend_id = tablet[2]
String tablet_id = tablet.TabletId
backend_id = tablet.BackendId
def (code, out, err) = be_run_cumulative_compaction(backendId_to_backendIP.get(backend_id), backendId_to_backendHttpPort.get(backend_id), tablet_id)
logger.info("Run compaction: code=" + code + ", out=" + out + ", err=" + err)
assertEquals(code, 0)
Expand Down

0 comments on commit e68100e

Please sign in to comment.