From 2ffa67ab485173ef0dc8fa2d1b199b56f5726321 Mon Sep 17 00:00:00 2001 From: CPWstatic <13495049+CPWstatic@users.noreply.github.com> Date: Thu, 2 Sep 2021 20:50:39 +0800 Subject: [PATCH 1/2] Fix slow query test. --- tests/tck/slowquery/KillSlowQueryViaDiffrentService.feature | 2 +- tests/tck/slowquery/KillSlowQueryViaSameService.feature | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/tck/slowquery/KillSlowQueryViaDiffrentService.feature b/tests/tck/slowquery/KillSlowQueryViaDiffrentService.feature index 9464dc08111..3aa8baeb193 100644 --- a/tests/tck/slowquery/KillSlowQueryViaDiffrentService.feature +++ b/tests/tck/slowquery/KillSlowQueryViaDiffrentService.feature @@ -26,7 +26,7 @@ Feature: Slow Query Test """ Then the execution should be successful # In case that rebuild indexes cost too much time. - And wait 10 seconds + And wait 20 seconds When executing query via graph 1: """ SHOW ALL QUERIES diff --git a/tests/tck/slowquery/KillSlowQueryViaSameService.feature b/tests/tck/slowquery/KillSlowQueryViaSameService.feature index e0ec3a06b54..1a48cfa2fd5 100644 --- a/tests/tck/slowquery/KillSlowQueryViaSameService.feature +++ b/tests/tck/slowquery/KillSlowQueryViaSameService.feature @@ -26,7 +26,7 @@ Feature: Slow Query Test """ Then the execution should be successful # In case that rebuild indexes cost too much time. - And wait 10 seconds + And wait 20 seconds When executing query: """ SHOW ALL QUERIES From 24411211accda5bdbb0783ba4ac8f17d9488cfe1 Mon Sep 17 00:00:00 2001 From: CPWstatic <13495049+CPWstatic@users.noreply.github.com> Date: Mon, 6 Sep 2021 11:26:50 +0800 Subject: [PATCH 2/2] Add timeout. --- .github/workflows/pull_request.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pull_request.yml b/.github/workflows/pull_request.yml index 4d663bae461..bfc5885db2c 100644 --- a/.github/workflows/pull_request.yml +++ b/.github/workflows/pull_request.yml @@ -140,7 +140,7 @@ jobs: run: | make RM_DIR=false DEBUG=false J=${{ steps.cmake.outputs.j }} tck working-directory: tests/ - timeout-minutes: 60 + timeout-minutes: 120 - name: Down cluster run: | make down