Skip to content

Commit 0606571

Browse files
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.
1 parent aa7804c commit 0606571

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

eng/helix/content/runtests.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ if [ -e /proc/self/coredump_filter ]; then
8989
echo -n 0x3F > /proc/self/coredump_filter
9090
fi
9191

92+
sync
93+
9294
$DOTNET_ROOT/dotnet vstest $test_binary_path -lt >discovered.txt
9395
if grep -q "Exception thrown" discovered.txt; then
9496
echo -e "${RED}Exception thrown during test discovery${RESET}".

0 commit comments

Comments
 (0)