Remove unnecessarily long wait in FSW tests

One of the FSW tests is passing a 30 second timeout to an ExpectNoEvent, which means the test when correctly functioning will take at least 30 seconds.  I've removed the custom timeout to give the test the normal timeout period of half a second.


Commit migrated from https://github.com/dotnet/corefx/commit/d4d0d561a3978f43ccb2271e8dc417d6d3ffefc2
This commit is contained in:
stephentoub committed 2015-08-07 14:14:58 -04:00
1 parent 9b9d1a5566
commit 06258604cd
1 file changed
+1 -1
@@ -150,7 +150,7 @@ public partial class FileSystemWatcher_4000_Tests
using (var dir2 = new TemporaryTestDirectory(Path.Combine(dir1.Path, "dir2")))
{
Utility.ExpectNoEvent(createdOccured, "dir2 created", Utility.WaitForCreationTimeoutInMs);
Utility.ExpectNoEvent(createdOccured, "dir2 created");
using (var file = Utility.CreateTestFile(Path.Combine(dir2.Path, "test file"))) { };