Skip to content

Commit 02e74ce

Browse files
branch-4.0: [Fix](Test) Fix tablet stats case #59484 (#59574)
Cherry-picked from #59484 Co-authored-by: Jimmy <[email protected]>
1 parent 6e38e04 commit 02e74ce

File tree

1 file changed

+3
-2
lines changed
  • regression-test/framework/src/main/groovy/org/apache/doris/regression/suite

1 file changed

+3
-2
lines changed

regression-test/framework/src/main/groovy/org/apache/doris/regression/suite/Suite.groovy

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3080,12 +3080,13 @@ class Suite implements GroovyInterceptable {
30803080
def jsonOutput = new JsonOutput()
30813081
def map = []
30823082
def js = jsonOutput.toJson(map)
3083-
log.info("fix tablet stat req: /MetaService/http/fix_tablet_stats?token=${token}&cloud_unique_id=${instance_id}&table_id=${table_id} ".toString())
3083+
def cloudUniqueId = context.config.cloudUniqueId
3084+
log.info("fix tablet stat req: /MetaService/http/fix_tablet_stats?token=${token}&cloud_unique_id=${cloudUniqueId}&table_id=${table_id} ".toString())
30843085

30853086
def fix_tablet_stats_api = { request_body, check_func ->
30863087
httpTest {
30873088
endpoint context.config.metaServiceHttpAddress
3088-
uri "/MetaService/http/fix_tablet_stats?token=${token}&cloud_unique_id=${instance_id}&table_id=${table_id}"
3089+
uri "/MetaService/http/fix_tablet_stats?token=${token}&cloud_unique_id=${cloudUniqueId}&table_id=${table_id}"
30893090
body request_body
30903091
check check_func
30913092
}

0 commit comments

Comments
 (0)