[System] Fixes SmtpClientTest.Deliver_Async
authorMarcos Henrich <marcos.henrich@xamarin.com>
Wed, 30 Sep 2015 09:43:36 +0000 (10:43 +0100)
committerMarcos Henrich <marcos.henrich@xamarin.com>
Wed, 30 Sep 2015 09:44:31 +0000 (10:44 +0100)
mcs/class/System/Test/System.Net.Mail/SmtpClientTest.cs

index 641b787988ea5e4894c2ee87db5739ea97813fd9..7f276c19d9b851f052e5413e015a6db604cc9e4e 100644 (file)
@@ -404,6 +404,8 @@ namespace MonoTests.System.Net.Mail
                        Assert.AreEqual ("<foo@example.com>", server.mail_from);
                        Assert.AreEqual ("<bar@example.com>", server.rcpt_to);
 
+                       task.Wait (10);
+
                        Assert.IsTrue (task.IsCompleted, "task");
                }