From 86ee42a39d796614a20a736419ae3fe743e31022 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Mon, 23 Jan 2023 11:44:48 +0100 Subject: [PATCH] [tests] Bump the timeout to 10min for monotouch-test/xammac_tests on older macOS bots. (#17317) I've started seeing more random network delays on these tests recently - which the tests themselves handle, but the test run ends up taking much longer, and we need to give the test run more time to finish. --- tests/packaged-macos-tests.mk | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/packaged-macos-tests.mk b/tests/packaged-macos-tests.mk index f49dec576c50..5e9730d7c6aa 100644 --- a/tests/packaged-macos-tests.mk +++ b/tests/packaged-macos-tests.mk @@ -26,7 +26,7 @@ LAUNCH_ARGUMENTS=--autostart --autoexit # Time test runs out after 5 minutes (300 seconds) RUN_WITH_TIMEOUT=./run-with-timeout.csharp 300 -# Some tests need a bit more time... (introspection) +# Some tests need a bit more time... (introspection, monotouch-test/xammac_tests) RUN_WITH_TIMEOUT_LONGER=./run-with-timeout.csharp 600 .stamp-configure-projects-mac: Makefile xharness/xharness.exe @@ -94,7 +94,7 @@ build-mac-modern-xammac_tests: xammac_tests/xammac_tests.csproj .stamp-nuget-res exec-mac-modern-xammac_tests: @echo "ℹ️ Executing the 'xammac' test for Xamarin.Mac (Modern profile) ℹ️" - $(Q) $(RUN_WITH_TIMEOUT) xammac_tests/bin/x86/$(CONFIG)/xammac_tests.app/Contents/MacOS/xammac_tests + $(Q) $(RUN_WITH_TIMEOUT_LONGER) xammac_tests/bin/x86/$(CONFIG)/xammac_tests.app/Contents/MacOS/xammac_tests # # link all @@ -221,7 +221,7 @@ endif $$(Q) if test -e ".$$@-failure.stamp"; then cat ".$$@-failure.stamp"; rm ".$$@-failure.stamp"; exit 1; fi endef -$(eval $(call DotNetNormalTest,monotouch-test,monotouchtest)) +$(eval $(call DotNetNormalTest,monotouch-test,monotouchtest,_LONGER)) $(eval $(call DotNetNormalTest,introspection,introspection,_LONGER)) ### .NET linker tests