This is an automated email from the ASF dual-hosted git repository.
jinrongtong pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/rocketmq.git
The following commit(s) were added to refs/heads/develop by this push:
new aed259b4c9 [ISSUE #8510] Fix CI Failure in Test E2E Golang Job of
PUSH-CI and PR-E2E-TEST (#8520)
aed259b4c9 is described below
commit aed259b4c9ca7a407a600e5079fd51192aa33751
Author: 小陈 <[email protected]>
AuthorDate: Mon Aug 12 17:29:01 2024 +0800
[ISSUE #8510] Fix CI Failure in Test E2E Golang Job of PUSH-CI and
PR-E2E-TEST (#8520)
* Modify the golang e2e test script
* Update cmd
* Revert changes to push-ci.yml
* Update go version
---
.github/workflows/pr-e2e-test.yml | 2 ++
.github/workflows/push-ci.yml | 2 ++
2 files changed, 4 insertions(+)
diff --git a/.github/workflows/pr-e2e-test.yml
b/.github/workflows/pr-e2e-test.yml
index 9082b6b222..f9bb3bde75 100644
--- a/.github/workflows/pr-e2e-test.yml
+++ b/.github/workflows/pr-e2e-test.yml
@@ -187,6 +187,8 @@ jobs:
test-cmd: |
cd ../common && mvn -Prelease -DskipTests clean package -U
cd ../rocketmq-admintools && source bin/env.sh
+ wget https://go.dev/dl/go1.22.6.linux-amd64.tar.gz && \
+ rm -rf /usr/local/go && tar -C /usr/local -xzf
go1.22.6.linux-amd64.tar.gz
cd ../golang && go get -u
github.com/apache/rocketmq-clients/golang && gotestsum --junitfile
./target/surefire-reports/TEST-report.xml ./mqgotest/... -timeout 2m -v
job-id: 0
- name: Publish Test Report
diff --git a/.github/workflows/push-ci.yml b/.github/workflows/push-ci.yml
index b679d56d2f..2fe62dbeb0 100644
--- a/.github/workflows/push-ci.yml
+++ b/.github/workflows/push-ci.yml
@@ -192,6 +192,8 @@ jobs:
test-cmd: |
cd ../common && mvn -Prelease -DskipTests clean package -U
cd ../rocketmq-admintools && source bin/env.sh
+ wget https://go.dev/dl/go1.22.6.linux-amd64.tar.gz && \
+ rm -rf /usr/local/go && tar -C /usr/local -xzf
go1.22.6.linux-amd64.tar.gz
cd ../golang && go get -u
github.com/apache/rocketmq-clients/golang && gotestsum --junitfile
./target/surefire-reports/TEST-report.xml ./mqgotest/... -timeout 2m -v
job-id: 0
- name: Publish Test Report