Skip to content

Commit

Permalink
update BVT SQL timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosyrain committed Sep 11, 2024
1 parent cb85fa5 commit 681efff
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/e2e-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
- name: Update BVT SQL Timeout
run: |
cd $GITHUB_WORKSPACE/mo-tester
sed -i "s#socketTimeout: 120000#socketTimeout: 300000#" mo.yml
sed -i "s/socketTimeout:.*/socketTimeout: 300000/g" mo.yml
- name: Start BVT Test
id: bvt_on_pr_version
run: |
Expand Down Expand Up @@ -164,7 +164,7 @@ jobs:
- name: Update BVT SQL Timeout
run: |
cd $GITHUB_WORKSPACE/mo-tester
sed -i "s#socketTimeout: 120000#socketTimeout: 300000#" mo.yml
sed -i "s/socketTimeout:.*/socketTimeout: 300000/g" mo.yml
- name: Start BVT Test
id: bvt_on_pr_version
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/e2e-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
- name: Update BVT SQL Timeout
run: |
cd $GITHUB_WORKSPACE/mo-tester
sed -i "s#socketTimeout: 120000#socketTimeout: 300000#" mo.yml
sed -i "s/socketTimeout:.*/socketTimeout: 300000/g" mo.yml
- name: Start BVT Test
id: bvt_on_pr_version
run: |
Expand Down Expand Up @@ -172,7 +172,7 @@ jobs:
- name: Update BVT SQL Timeout
run: |
cd $GITHUB_WORKSPACE/mo-tester
sed -i "s#socketTimeout: 120000#socketTimeout: 300000#" mo.yml
sed -i "s/socketTimeout:.*/socketTimeout: 300000/g" mo.yml
- name: Start BVT Test
id: bvt_on_pr_version
run: |
Expand Down Expand Up @@ -263,7 +263,7 @@ jobs:
- name: Update BVT SQL Timeout
run: |
cd $GITHUB_WORKSPACE/mo-tester
sed -i "s#socketTimeout: 120000#socketTimeout: 300000#" mo.yml
sed -i "s/socketTimeout:.*/socketTimeout: 300000/g" mo.yml
- name: Start BVT Test
id: bvt_on_pr_version
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/e2e-upgrade.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
- name: Update BVT SQL Timeout
run: |
cd $GITHUB_WORKSPACE/mo-tester
sed -i "s#socketTimeout: 120000#socketTimeout: 300000#" mo.yml
sed -i "s/socketTimeout:.*/socketTimeout: 300000/g" mo.yml
- name: Start BVT Test for Target Branch
id: bvt_on_latest_main_version
run: |
Expand Down Expand Up @@ -138,7 +138,7 @@ jobs:
- name: Update BVT SQL Timeout for Head Branch
run: |
cd $GITHUB_WORKSPACE/mo-tester
sed -i "s#socketTimeout: 120000#socketTimeout: 300000#" mo.yml
sed -i "s/socketTimeout:.*/socketTimeout: 300000/g" mo.yml
- name: Start BVT Test for Head Branch
id: bvt_on_latest_head_version
run: |
Expand Down Expand Up @@ -269,7 +269,7 @@ jobs:
- name: Update BVT SQL Timeout for Release ${{ inputs.release-version }}
run: |
cd $GITHUB_WORKSPACE/mo-tester
sed -i "s#socketTimeout: 120000#socketTimeout: 300000#" mo.yml
sed -i "s/socketTimeout:.*/socketTimeout: 300000/g" mo.yml
- name: Start BVT Test for Release ${{ inputs.release-version }}
id: bvt_on_latest_main_version
run: |
Expand Down Expand Up @@ -326,7 +326,7 @@ jobs:
- name: Update BVT SQL Timeout for Head Ref
run: |
cd $GITHUB_WORKSPACE/mo-tester
sed -i "s#socketTimeout: 120000#socketTimeout: 300000#" mo.yml
sed -i "s/socketTimeout:.*/socketTimeout: 300000/g" mo.yml
- name: Start BVT Test for Head Ref
id: bvt_on_latest_head_version
run: |
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/merge-trigger-standalone.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ jobs:
- name: Update BVT SQL Timeout
run: |
cd $GITHUB_WORKSPACE/mo-tester
sed -i "s#socketTimeout: 120000#socketTimeout: 300000#" mo.yml
sed -i "s/socketTimeout:.*/socketTimeout: 300000/g" mo.yml
- name: Start BVT Test
id: bvt_on_pr_version
run: |
Expand Down Expand Up @@ -161,7 +161,7 @@ jobs:
- name: Update BVT SQL Timeout
run: |
cd $GITHUB_WORKSPACE/mo-tester
sed -i "s#socketTimeout: 120000#socketTimeout: 300000#" mo.yml
sed -i "s/socketTimeout:.*/socketTimeout: 300000/g" mo.yml
- name: Start BVT Test
id: bvt_on_pr_version
run: |
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/merge-trigger-tke.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,6 @@ jobs:
sed -i "s/127.0.0.1:6001/${{ needs.setup_mo_test_env.outputs.mo_svc_ip }}:6001/" ./mo-tester/mo.yml
sed -i 's/socketTimeout:.*/socketTimeout: 300000/g' ./mo-tester/mo.yml
sed -i 's/ serverIP: "127.0.0.1"/ serverIP: "${{ needs.setup_mo_test_env.outputs.cn_ips }}"/g' ./mo-tester/mo.yml
sed -i "s#socketTimeout: 120000#socketTimeout: 300000#" ./mo-tester/mo.yml
sed -i 's/waittime:.*/waittime: 2000/g' ./mo-tester/run.yml
cat ./mo-tester/mo.yml
echo "=========================="
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/robot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ jobs:
- name: Update BVT SQL Timeout
run: |
cd $GITHUB_WORKSPACE/mo-tester
sed -i "s#socketTimeout: 120000#socketTimeout: 300000#" mo.yml
sed -i "s/socketTimeout:.*/socketTimeout: 300000/g" mo.yml
- name: Start BVT Test
if: ${{ always() && !cancelled() }}
id: bvt_on_pr_version
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/utils.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ jobs:
- name: Update BVT SQL Timeout
run: |
cd $GITHUB_WORKSPACE/mo-tester
sed -i "s#socketTimeout: 120000#socketTimeout: 300000#" mo.yml
sed -i "s/socketTimeout:.*/socketTimeout: 300000/g" mo.yml
- name: Start BVT Test
timeout-minutes: 30
if: ${{ always() && !cancelled() }}
Expand Down

0 comments on commit 681efff

Please sign in to comment.