Skip to content

Commit 39d7755

Browse files
authored
[monotouch-test] Skip NWBrowserTest.TestStateChangesHandler in CI. (#22888)
It doesn't work very well on machines humans don't see.
1 parent 79a016f commit 39d7755

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tests/monotouch-test/Network/NWBrowserTest.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,11 @@ public void TestStartNoQ ()
7272
[Test]
7373
public void TestStateChangesHandler ()
7474
{
75+
// This test may cause cause a dialog asking for access to the local network. The test will work if access is either granted or
76+
// revoked, but it won't work _while the dialog is up_ (which can't be detected), which makes it rather annoying on the bots.
77+
// So just skip it there.
78+
TestRuntime.IgnoreInCI ("This test may pop up a dialog asking for access to the local network, which will cause the test to fail.");
79+
7580
// In the test we are doing the following:
7681
//
7782
// 1. Start a browser. At this point, we have no listeners (unless someone is exposing it in the lab)

0 commit comments

Comments
 (0)