From adf3dacabf47dce088d293a78a68e88024707a11 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Fri, 28 Oct 2022 11:07:11 +0200 Subject: [PATCH] [tests] Don't block forever in CoreFoundation.ProxyTest if something goes wrong. (#16495) --- tests/monotouch-test/CoreFoundation/ProxyTest.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/monotouch-test/CoreFoundation/ProxyTest.cs b/tests/monotouch-test/CoreFoundation/ProxyTest.cs index 4b03bf375e..766d7d2abd 100644 --- a/tests/monotouch-test/CoreFoundation/ProxyTest.cs +++ b/tests/monotouch-test/CoreFoundation/ProxyTest.cs @@ -98,7 +98,7 @@ namespace MonoTouchFixtures.CoreFoundation { }); listener_thread.IsBackground = true; listener_thread.Start (); - listening.WaitOne (); + Assert.IsTrue (listening.WaitOne (TimeSpan.FromSeconds (15))); } [OneTimeTearDown]