You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
hack/ginkgo-e2e.sh: skip S character by default, add newlines in CI
We typically have plenty of skipped tests in an E2E run, which causes Ginkgo to
print many S characters (one for each skipped test). This easily fills up an entire
console window. Now the default is to silence that
output. GINKGO_SILENCE_SKIPS=n reverts to the previous behavior.
By default, Ginkgo prints all progress characters (S and o) in a single
line. Buffering in Prow causes that output to occur only after the run is over,
which defeats the purpose of having those characters. Now a newline is added
after each character, so there is visible progress in Prow while Ginkgo runs.
GINKGO_PARALLEL=${GINKGO_PARALLEL:-n}# set to 'y' to run tests in parallel
35
+
GINKGO_SILENCE_SKIPS=${GINKGO_SILENCE_SKIPS:-y}# set to 'n' to see S character for each skipped test
36
+
GINKGO_FORCE_NEWLINES=${GINKGO_FORCE_NEWLINES:-$( if [ "${CI:-false}" = "true" ]; then echo "y"; else echo "n"; fi )}# set to 'y' to print a newline after each S or o character
35
37
CLOUD_CONFIG=${CLOUD_CONFIG:-""}
36
38
39
+
37
40
# If 'y', Ginkgo's reporter will not use escape sequence to color output.
38
41
#
39
42
# Since Kubernetes 1.25, the default is to use colors only when connected to
@@ -158,6 +161,14 @@ if [[ "${GINKGO_TOLERATE_FLAKES}" == "y" ]]; then
0 commit comments