From 060657113c30b2b649a6cb21d880055d65d29de5 Mon Sep 17 00:00:00 2001 From: Brennan Date: Mon, 10 Feb 2020 14:43:27 -0800 Subject: [PATCH] Workaround to possibly fix flaky tests? (#18926) Locally this seems to fix some unknown issue that is causing the dotnet test process to stop running for a few seconds which can result in test failures. --- eng/helix/content/runtests.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/eng/helix/content/runtests.sh b/eng/helix/content/runtests.sh index 34078c763e..cebc6fb543 100644 --- a/eng/helix/content/runtests.sh +++ b/eng/helix/content/runtests.sh @@ -89,6 +89,8 @@ if [ -e /proc/self/coredump_filter ]; then echo -n 0x3F > /proc/self/coredump_filter fi +sync + $DOTNET_ROOT/dotnet vstest $test_binary_path -lt >discovered.txt if grep -q "Exception thrown" discovered.txt; then echo -e "${RED}Exception thrown during test discovery${RESET}".