This is an automated email from the ASF dual-hosted git repository.
panxiaolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/master by this push:
new bc0f5dfd8f [Chore](checks) move sonar config file to be(#24712)
bc0f5dfd8f is described below
commit bc0f5dfd8fe56a1e6cb2679320277aca687fc721
Author: Pxl <[email protected]>
AuthorDate: Thu Sep 21 15:16:26 2023 +0800
[Chore](checks) move sonar config file to be(#24712)
move sonar config file to be
---
.github/workflows/sonarcloud.yml | 4 ++--
sonar-project.properties => be/sonar-project.properties | 0
.../groovy/org/apache/doris/regression/action/CreateMVAction.groovy | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
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)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]