From 3f6429d702cbc85281d97073ee146164a30f43ea Mon Sep 17 00:00:00 2001 From: Marek Siarkowicz Date: Mon, 27 Mar 2023 17:16:32 +0200 Subject: [PATCH] tests: Avoid testing package root tests in e2e Changes invocation from `go test -timeout 30m -v -cpu 1,2,4 '' -v --count 1 go.etcd.io/etcd/tests/e2e` to `go test -timeout 30m -v -cpu 1,2,4 -v --count 1 go.etcd.io/etcd/tests/e2e` (removes ''). Those braces caused tests to also run in root package. Signed-off-by: Marek Siarkowicz --- test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test b/test index 2fe72f11b..260ea62c1 100755 --- a/test +++ b/test @@ -340,7 +340,7 @@ function e2e_pass { USERTIMEOUT="${TIMEOUT}" fi - go test -timeout "${USERTIMEOUT}" -v -cpu "${TEST_CPUS}" "${RUN_ARG}" "$@" "${REPO_PATH}/tests/e2e" + go test -timeout "${USERTIMEOUT}" -v -cpu "${TEST_CPUS}" ${RUN_ARG} "$@" "${REPO_PATH}/tests/e2e" } function integration_e2e_pass {