From 92d30541611755df563beac0501e611f7abb993c Mon Sep 17 00:00:00 2001 From: Sebastien Pouliot Date: Thu, 15 Mar 2018 10:35:34 -0400 Subject: [PATCH] [jenkins] Clean keystore on bots before running tests Because if invalid data gets into the store then some unit tests will always fail on that particular bot. Fix https://github.com/xamarin/maccore/issues/640 --- jenkins/run-tests.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/jenkins/run-tests.sh b/jenkins/run-tests.sh index 8bd7fc5d64da..ace4ca559fc7 100755 --- a/jenkins/run-tests.sh +++ b/jenkins/run-tests.sh @@ -10,5 +10,8 @@ security unlock-keychain -p `cat ~/.config/keychain` echo "Increase keychain unlock timeout" security set-keychain-settings -lut 7200 +# clean mono keypairs (used in tests) +rm -rf ~/.config/.mono/keypairs/ + # Run tests make -C tests jenkins