summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-16 22:29:34 +0300
committerValery Piashchynski <[email protected]>2020-12-16 22:29:34 +0300
commit1033c25b6bfc752d6059e446510f651e22cbf49b (patch)
tree61a41de33db5a84cdc44d68587a123c562f3674e
parenta5431a6dd0dc1d803bd7cfa2bbcb017d85d0999e (diff)
Give more time to finish test with 3k files
-rw-r--r--.github/workflows/build.yml6
-rw-r--r--plugins/reload/tests/reload_plugin_test.go2
2 files changed, 7 insertions, 1 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml
index 29a42af2..f69d672a 100644
--- a/.github/workflows/build.yml
+++ b/.github/workflows/build.yml
@@ -3,6 +3,12 @@ name: build
on:
push:
pull_request:
+ branches:
+ # Branches from forks have the form 'user:branch-name' so we only run
+ # this job on pull_request events for branches that look like fork
+ # branches. Without this we would end up running this job twice for non
+ # forked PRs, once for the push and then once for opening the PR.
+ - '**:**'
jobs:
golang:
diff --git a/plugins/reload/tests/reload_plugin_test.go b/plugins/reload/tests/reload_plugin_test.go
index f64004c0..8fb9474f 100644
--- a/plugins/reload/tests/reload_plugin_test.go
+++ b/plugins/reload/tests/reload_plugin_test.go
@@ -386,7 +386,7 @@ func TestReloadCopy3k(t *testing.T) {
wg := &sync.WaitGroup{}
wg.Add(1)
- tt := time.NewTimer(time.Second * 160)
+ tt := time.NewTimer(time.Second * 180)
go func() {
defer wg.Done()