Commit 0d84b984 authored by Jon Cole's avatar Jon Cole

Exclude SslProtocols tests when targeting CORE_CLR

parent 8a96e896
...@@ -187,7 +187,7 @@ public void CreateDisconnectedNonsenseConnection_DNS() ...@@ -187,7 +187,7 @@ public void CreateDisconnectedNonsenseConnection_DNS()
Console.WriteLine(log); Console.WriteLine(log);
} }
} }
#if !CORE_CLR
[Test] [Test]
public void SslProtocols_SingleValue() public void SslProtocols_SingleValue()
{ {
...@@ -223,6 +223,7 @@ public void SslProtocols_InvalidValue() ...@@ -223,6 +223,7 @@ public void SslProtocols_InvalidValue()
var log = new StringWriter(); var log = new StringWriter();
Assert.Throws<ArgumentOutOfRangeException>(() => ConfigurationOptions.Parse("myhost,sslProtocols=InvalidSslProtocol")); Assert.Throws<ArgumentOutOfRangeException>(() => ConfigurationOptions.Parse("myhost,sslProtocols=InvalidSslProtocol"));
} }
#endif //#if !CORE_CLR
[Test] [Test]
public void ConfigurationOptionsDefaultForAzure() public void ConfigurationOptionsDefaultForAzure()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment