aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Klaus Aehlig <aehlig@google.com>2016-04-11 13:35:47 +0000
committerGravatar Dmitry Lomov <dslomov@google.com>2016-04-12 13:57:20 +0000
commitd17e6b8f79a9f86fd18b102a8a7db0bbe2dd61d0 (patch)
tree230e095bc2fe55314c2dea93e02edb220f5d8576 /src
parent6fc93941ea783ec6de3b9be423bc6c8bff10775f (diff)
experimental_ui_test: avoid flakyness by disallow test caching
Under certain conditions it might happen that simultaenously running instances of the experimental_ui_test share cached results, leading to the (deliberatly) slow test taking shorter than tested for. Fix this by adding the --nochache_test_results options to the test run in the test. -- MOS_MIGRATED_REVID=119525789
Diffstat (limited to 'src')
-rwxr-xr-xsrc/test/shell/integration/experimental_ui_test.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/shell/integration/experimental_ui_test.sh b/src/test/shell/integration/experimental_ui_test.sh
index bb1f2c3f9c..3acee96e05 100755
--- a/src/test/shell/integration/experimental_ui_test.sh
+++ b/src/test/shell/integration/experimental_ui_test.sh
@@ -181,7 +181,7 @@ function test_loading_progress {
function test_times_fresh {
bazel clean || fail "bazel clean failed"
- bazel test --experimental_ui --curses=yes --color=yes pkg:slow 2>$TEST_log \
+ bazel test --experimental_ui --curses=yes --color=yes pkg:slow --nocache_test_results 2>$TEST_log \
|| fail "bazel test failed"
# We have ensured that the slow test is run. It takes at least 10 seconds
# and we expect an update about once per second. Due to lack of knowledge