From bee31d2f909aba2d95ec0fc01c20f9b845608c95 Mon Sep 17 00:00:00 2001 From: Andrew Kaster Date: Sat, 10 Dec 2022 02:57:06 -0700 Subject: [PATCH] Base: Add extra sync to run-tests-and-shutdown.sh This shouldn't be necessary but reproducing the odd corrupted profile data from the nightly Azure runs is proving tricky locally. Hopefully this will mitigate the issue. --- Base/home/anon/Tests/run-tests-and-shutdown.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/Base/home/anon/Tests/run-tests-and-shutdown.sh b/Base/home/anon/Tests/run-tests-and-shutdown.sh index 82579d91bf0..50b1fb86ef1 100755 --- a/Base/home/anon/Tests/run-tests-and-shutdown.sh +++ b/Base/home/anon/Tests/run-tests-and-shutdown.sh @@ -13,6 +13,7 @@ unset LLVM_PROFILE_FILE echo "Failed: $fail_count" > ./test-results.log if test $DO_SHUTDOWN_AFTER_TESTS { + sync shutdown -n }