aboutsummaryrefslogtreecommitdiff
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-19 10:01:02 -0500
committerGitHub <noreply@github.com>2022-01-19 10:01:02 -0500
commit1c81b67341300853d7fe9b6568b247e579c34969 (patch)
tree4b3f236c3b632187eddfbc89c89b8d9a04ea3e4c /vendor/github.com/seccomp/libseccomp-golang/Makefile
parent8301a7cd828c4576c1e581cb2dd376f42a363a11 (diff)
parenta0165a64b9efc3201bda69e4271ecf0f149bc59c (diff)
downloadpodman-1c81b67341300853d7fe9b6568b247e579c34969.tar.gz
podman-1c81b67341300853d7fe9b6568b247e579c34969.tar.bz2
podman-1c81b67341300853d7fe9b6568b247e579c34969.zip
Merge pull request #12921 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"))