Skip to content
This repository was archived by the owner on Jul 30, 2021. It is now read-only.

Commit 501aef6

Browse files
committed
hack/tests: exclude flaky and feature tests from conformance
1 parent 941a66d commit 501aef6

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

hack/tests/conformance-test.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ set -euo pipefail
33

44
CHECK_NODE_COUNT=${CHECK_NODE_COUNT:-true}
55
CONFORMANCE_REPO=${CONFORMANCE_REPO:-github.com/coreos/kubernetes}
6-
CONFORMANCE_VERSION=${CONFORMANCE_VERSION:-v1.3.0_coreos.1}
6+
CONFORMANCE_VERSION=${CONFORMANCE_VERSION:-v1.3.0+coreos.1}
7+
TEST_ARGS=${TEST_ARGS:-"--ginkgo.focus='\[Conformance\]' --ginkgo.skip='\[Flaky\]|\[Feature:.+\]'"}
78

89
usage() {
910
echo "USAGE:"
@@ -34,7 +35,7 @@ RKT_OPTS=$(echo \
3435
# Init steps necessary to run conformance in docker://golang:1.6.2 container
3536
INIT="apt-get update && apt-get install -y rsync"
3637

37-
TEST_FLAGS="-v --test -check_version_skew=false -check_node_count=${CHECK_NODE_COUNT} --test_args=\"ginkgo.focus='\[Conformance\]'\""
38+
TEST_FLAGS="-v --test -check_version_skew=false -check_node_count=${CHECK_NODE_COUNT} --test_args=\"${TEST_ARGS}\""
3839

3940
CONFORMANCE=$(echo \
4041
"cd /go/src/k8s.io/kubernetes && " \

0 commit comments

Comments
 (0)