From fb322c4d15346ef9a6dfd74c67bb57485e17f2c2 Mon Sep 17 00:00:00 2001 From: Sebastien Pouliot Date: Thu, 15 Mar 2018 12:25:53 -0500 Subject: [PATCH] [jenkins] Clean keystore on bots before running tests (#3754) 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 f395761df3..2dc7a0f3b9 100755 --- a/jenkins/run-tests.sh +++ b/jenkins/run-tests.sh @@ -23,6 +23,9 @@ 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