summaryrefslogtreecommitdiff
path: root/vendor/github.com/seccomp/libseccomp-golang/Makefile
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-01-18 10:04:10 -0500
committerGitHub <noreply@github.com>2022-01-18 10:04:10 -0500
commit55ad6188b067ba6594819c318dd2ae92dea2f27e (patch)
treeba30a34e670229237efc607502802848ef3b3d77 /vendor/github.com/seccomp/libseccomp-golang/Makefile
parent59b1cdf9bb1c97475f369c0ca2b27ce2eaa1a0d4 (diff)
parent4adf457ff3619fd8b99f025c5ea67b7dac96fea8 (diff)
downloadpodman-55ad6188b067ba6594819c318dd2ae92dea2f27e.tar.gz
podman-55ad6188b067ba6594819c318dd2ae92dea2f27e.tar.bz2
podman-55ad6188b067ba6594819c318dd2ae92dea2f27e.zip
Merge pull request #12900 from containers/dependabot/go_modules/github.com/opencontainers/runc-1.1.0
Bump github.com/opencontainers/runc from 1.0.3 to 1.1.0
Diffstat (limited to 'vendor/github.com/seccomp/libseccomp-golang/Makefile')
-rw-r--r--vendor/github.com/seccomp/libseccomp-golang/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/vendor/github.com/seccomp/libseccomp-golang/Makefile b/vendor/github.com/seccomp/libseccomp-golang/Makefile
index 1ff4cc898..38cfa852c 100644
--- a/vendor/github.com/seccomp/libseccomp-golang/Makefile
+++ b/vendor/github.com/seccomp/libseccomp-golang/Makefile
@@ -18,8 +18,14 @@ fix-syntax:
vet:
go vet -v
+# Previous bugs have made the tests freeze until the timeout. Golang default
+# timeout for tests is 10 minutes, which is too long, considering current tests
+# can be executed in less than 1 second. Reduce the timeout, so problems can
+# be noticed earlier in the CI.
+TEST_TIMEOUT=10s
+
test:
- go test -v
+ go test -v -timeout $(TEST_TIMEOUT)
lint:
@$(if $(shell which golint),true,$(error "install golint and include it in your PATH"))