Commit e116defc authored by Marc Gravell's avatar Marc Gravell

Merge pull request #384 from DeRauk/master

Fixed build error caused by TryGetAzureRoleInstanceIdNoThrow test
parents f272cdbc cedca528
...@@ -138,14 +138,7 @@ public void DefaultClientName() ...@@ -138,14 +138,7 @@ public void DefaultClientName()
#endif #endif
} }
} }
[Test]
public void TryGetAzureRoleInstanceIdNoThrow()
{
ConfigurationOptions config = new ConfigurationOptions();
Assert.IsNull(config.TryGetAzureRoleInstanceIdNoThrow());
}
[Test] [Test]
public void ReadConfigWithConfigDisabled() public void ReadConfigWithConfigDisabled()
{ {
......
...@@ -116,6 +116,12 @@ public void CheckFailureRecovered() ...@@ -116,6 +116,12 @@ public void CheckFailureRecovered()
SocketManager.ConnectCompletionType = CompletionType.Any; SocketManager.ConnectCompletionType = CompletionType.Any;
ClearAmbientFailures(); ClearAmbientFailures();
} }
}
[Test]
public void TryGetAzureRoleInstanceIdNoThrow()
{
Assert.IsNull(ConnectionMultiplexer.TryGetAzureRoleInstanceIdNoThrow());
} }
} }
} }
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