Conditional compilation for Compact Framework.
diff --git a/src/test/csharp/InvalidCredentialsTest.cs b/src/test/csharp/InvalidCredentialsTest.cs
index 9b2e3a9..18c8d0d 100644
--- a/src/test/csharp/InvalidCredentialsTest.cs
+++ b/src/test/csharp/InvalidCredentialsTest.cs
@@ -36,6 +36,7 @@
base.TearDown();
}
+#if !NETCF
// Maximum time to run is 20 seconds.
[Test] //, Timeout(20000)]
public void TestRestartInvalidCredentialsWithFailover()
@@ -57,5 +58,6 @@
Assert.DoesNotThrow(() => { connection.Start(); }, "You may not have set the InvalidCredentials-AuthenticUser node in the nmsprovider-test.config file.");
}
}
+#endif
}
}