Skip to content

Commit 50b4c42

Browse files
authored
[fix](test) check cloud mode in enableStorageVault (apache#56709)
1 parent 9d1e2dc commit 50b4c42

File tree

1 file changed

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

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1977,6 +1977,10 @@ class Suite implements GroovyInterceptable {
19771977
}
19781978

19791979
boolean enableStoragevault() {
1980+
if (!isCloudMode()) {
1981+
return false;
1982+
}
1983+
19801984
if (Strings.isNullOrEmpty(context.config.metaServiceHttpAddress)
19811985
|| Strings.isNullOrEmpty(context.config.instanceId)
19821986
|| Strings.isNullOrEmpty(context.config.metaServiceToken)) {

0 commit comments

Comments
 (0)