Skip to content

Commit

Permalink
Merge pull request #1887 from StephenBonikowsky/ActiveIssueOSXCertFai…
Browse files Browse the repository at this point in the history
…lures

Active issue test cases failing due to issue #1886
  • Loading branch information
StephenBonikowsky authored May 3, 2017
2 parents 5b04dd9 + d968df5 commit eb8b5c8
Show file tree
Hide file tree
Showing 10 changed files with 20 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ public partial class CustomBindingTests : ConditionalWcfTest
{
// Tcp: Client and Server bindings setup exactly the same using default settings.
[WcfFact]
[Issue(1886, OS = OSID.AnyOSX)]
[Condition(nameof(Root_Certificate_Installed), nameof(Client_Certificate_Installed))]
[OuterLoop]
public static void DefaultSettings_Tcp_Binary_Echo_RoundTrips_String()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,7 @@ public static void DuplexCallback_Throws_FaultException_ReturnsFaultedTask()
}

[WcfFact]
[Issue(1886, OS = OSID.AnyOSX)]
[OuterLoop]
// Verify product throws MessageSecurityException when the Dns identity from the server does not match the expectation
public static void TCP_ServiceCertExpired_Throw_MessageSecurityException()
Expand Down Expand Up @@ -372,6 +373,7 @@ public static void TCP_ServiceCertExpired_Throw_MessageSecurityException()
}

[WcfFact]
[Issue(1886, OS = OSID.AnyOSX)]
[OuterLoop]
// Verify product throws SecurityNegotiationException when the service cert is revoked
public static void TCP_ServiceCertRevoked_Throw_SecurityNegotiationException()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
public partial class ExpectedExceptionTests : ConditionalWcfTest
{
[WcfFact]
[Issue(1886, OS = OSID.AnyOSX)]
[Condition(nameof(Root_Certificate_Installed), nameof(Client_Certificate_Installed))]
[OuterLoop]
// Confirm that the Validate method of the custom X509CertificateValidator is called and that an exception thrown there is handled correctly.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
public class SetupValidationTests : ConditionalWcfTest
{
[WcfFact]
[Issue(1886, OS = OSID.AnyOSX)]
[Condition(nameof(Root_Certificate_Installed))]
[OuterLoop]
public static void Root_Certificate_Correctly_Installed()
Expand Down Expand Up @@ -59,6 +60,7 @@ public static void Client_Certificate_Correctly_Installed()
}

[WcfFact]
[Issue(1886, OS = OSID.AnyOSX)]
[Condition(nameof(Peer_Certificate_Installed))]
[OuterLoop]
public static void Peer_Certificate_Correctly_Installed()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ public class Tcp_ClientCredentialTypeCertificateCanonicalNameTests : Conditional
// to pass a variation or fail a variation.

[WcfFact]
[Issue(1886, OS = OSID.AnyOSX)]
[Condition(nameof(Root_Certificate_Installed))]
[OuterLoop]
public static void Certificate_With_CanonicalName_Localhost_Address_EchoString()
Expand Down Expand Up @@ -96,6 +97,7 @@ public static void Certificate_With_CanonicalName_Localhost_Address_EchoString()
}

[WcfFact]
[Issue(1886, OS = OSID.AnyOSX)]
[Condition(nameof(Root_Certificate_Installed))]
[OuterLoop]
public static void Certificate_With_CanonicalName_DomainName_Address_EchoString()
Expand Down Expand Up @@ -172,6 +174,7 @@ public static void Certificate_With_CanonicalName_DomainName_Address_EchoString(
}

[WcfFact]
[Issue(1886, OS = OSID.AnyOSX)]
[Condition(nameof(Root_Certificate_Installed))]
[OuterLoop]
public static void Certificate_With_CanonicalName_Fqdn_Address_EchoString()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
public partial class Tcp_ClientCredentialTypeTests : ConditionalWcfTest
{
[WcfFact]
[Issue(1886, OS = OSID.AnyOSX)]
[Condition(nameof(Root_Certificate_Installed), nameof(Client_Certificate_Installed))]
[OuterLoop]
public static void TcpClientCredentialType_Certificate_EchoString()
Expand Down Expand Up @@ -61,6 +62,7 @@ public static void TcpClientCredentialType_Certificate_EchoString()
}

[WcfFact]
[Issue(1886, OS = OSID.AnyOSX)]
[Condition(nameof(Root_Certificate_Installed), nameof(Client_Certificate_Installed))]
[OuterLoop]
public static void TcpClientCredentialType_Certificate_CustomValidator_EchoString()
Expand Down Expand Up @@ -113,6 +115,7 @@ public static void TcpClientCredentialType_Certificate_CustomValidator_EchoStrin
}

[WcfFact]
[Issue(1886, OS = OSID.AnyOSX)]
[Condition(nameof(Root_Certificate_Installed), nameof(Client_Certificate_Installed))]
[OuterLoop]
public static void TcpClientCredentialType_Certificate_With_ServerAltName_EchoString()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
public partial class Tcp_ClientCredentialTypeTests : ConditionalWcfTest
{
[WcfFact]
[Issue(1886, OS = OSID.AnyOSX)]
[Condition(nameof(Root_Certificate_Installed),
nameof(Client_Certificate_Installed),
nameof(Peer_Certificate_Installed),
Expand Down Expand Up @@ -61,6 +62,7 @@ public static void NetTcp_SecModeTrans_CertValMode_PeerTrust_Succeeds_In_Trusted
}

[WcfFact]
[Issue(1886, OS = OSID.AnyOSX)]
[Condition(nameof(Root_Certificate_Installed),
nameof(Client_Certificate_Installed),
nameof(Peer_Certificate_Installed),
Expand Down Expand Up @@ -119,6 +121,7 @@ public static void NetTcp_SecModeTrans_CertValMode_PeerTrust_Fails_Not_In_Truste
}

[WcfFact]
[Issue(1886, OS = OSID.AnyOSX)]
[Condition(nameof(Root_Certificate_Installed),
nameof(Client_Certificate_Installed),
nameof(SSL_Available))]
Expand Down Expand Up @@ -166,6 +169,7 @@ public static void NetTcp_SecModeTrans_CertValMode_PeerOrChainTrust_Succeeds_Cha
}

[WcfFact]
[Issue(1886, OS = OSID.AnyOSX)]
[Condition(nameof(Root_Certificate_Installed),
nameof(Client_Certificate_Installed),
nameof(SSL_Available))]
Expand Down Expand Up @@ -211,6 +215,7 @@ public static void NetTcp_SecModeTrans_CertValMode_ChainTrust_Succeeds_ChainTrus
}

[WcfFact]
[Issue(1886, OS = OSID.AnyOSX)]
[Condition(nameof(Root_Certificate_Installed),
nameof(Client_Certificate_Installed),
nameof(SSL_Available))]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
public partial class IdentityTests : ConditionalWcfTest
{
[WcfFact]
[Issue(1886, OS = OSID.AnyOSX)]
[Condition(nameof(Root_Certificate_Installed), nameof(Client_Certificate_Installed))]
[OuterLoop]
// The product code will check the Dns identity from the server and throw if it does not match what is specified in DnsEndpointIdentity
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
public partial class IdentityTests : ConditionalWcfTest
{
[WcfFact]
[Issue(1886, OS = OSID.AnyOSX)]
[Condition(nameof(Root_Certificate_Installed), nameof(Client_Certificate_Installed))]
[OuterLoop]
// Verify product throws MessageSecurityException when the Dns identity from the server does not match the expectation
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,7 @@ public static void NetTcp_TransportSecurity_Streamed_MultipleReads()
nameof(Windows_Authentication_Available),
nameof(Ambient_Credentials_Available))]
[Issue(832, Framework = FrameworkID.NetNative)] // Windows Stream Security is not supported in NET Native
[Issue(1888)]
[OuterLoop]
public static void NetTcp_TransportSecurity_Streamed_TimeOut_Long_Running_Operation()
{
Expand Down

0 comments on commit eb8b5c8

Please sign in to comment.