diff --git a/.github/workflows/sonarcloud.yml b/.github/workflows/sonarcloud.yml index 232946fd83..1deabd2cf9 100644 --- a/.github/workflows/sonarcloud.yml +++ b/.github/workflows/sonarcloud.yml @@ -103,7 +103,7 @@ jobs: MAVEN_OPTS: -Xmx4g run: | cd fe - mvn --batch-mode verify sonar:sonar -DskipTests -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 + mvn --batch-mode verify sonar:sonar -DskipTests -Dsonar.organization=apache -Dsonar.projectKey=apache_incubator-doris -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 sonar-cloud-cpp: name: "SonarCloud on cpp" runs-on: ubuntu-22.04 @@ -154,5 +154,5 @@ jobs: env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} - run: sonar-scanner -Dsonar.cfamily.compile-commands=be/build_Release/compile_commands.json + run: sonar-scanner -Dsonar.cfamily.compile-commands=be/build_Release/compile_commands.json -Dsonar.sources=be diff --git a/sonar-project.properties b/be/sonar-project.properties similarity index 100% rename from sonar-project.properties rename to be/sonar-project.properties diff --git a/regression-test/framework/src/main/groovy/org/apache/doris/regression/action/CreateMVAction.groovy b/regression-test/framework/src/main/groovy/org/apache/doris/regression/action/CreateMVAction.groovy index 588bb2d01a..7007b4541f 100644 --- a/regression-test/framework/src/main/groovy/org/apache/doris/regression/action/CreateMVAction.groovy +++ b/regression-test/framework/src/main/groovy/org/apache/doris/regression/action/CreateMVAction.groovy @@ -63,7 +63,7 @@ class CreateMVAction implements SuiteAction { def tmp = doRun("SHOW ALTER TABLE MATERIALIZED VIEW ORDER BY CreateTime DESC LIMIT 1;") sqlResult = tmp.result[0] log.info("result: ${sqlResult}".toString()) - if (tryTimes == 60 || sqlResult.contains("CANCELLED")) { + if (tryTimes == 120 || sqlResult.contains("CANCELLED")) { throw new IllegalStateException("MV create check times over limit, result='${sqlResult}'"); } Thread.sleep(1200)