Skip to content

Commit

Permalink
Reenable registered server tests, update recordings (#12724)
Browse files Browse the repository at this point in the history
  • Loading branch information
anpint authored and prmathur-microsoft committed Jul 8, 2020
1 parent ca29cf4 commit 359b2c9
Show file tree
Hide file tree
Showing 7 changed files with 2,481 additions and 1,274 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -224,9 +224,10 @@ public static SyncGroupCreateParameters GetDefaultSyncGroupParameters()
};
}

// Note: Secondary certificate must be different from primary certificate.
internal static string GetSecondaryCertificate()
{
return "MIIC4jCCAcqgAwIBAgIQP7n31LE24L1CfAmLKBKi6TANBgkqhkiG9w0BAQ0FADAZMRcwFQYDVQQDEw5hbnBpbnQtVGVzdFZNMzAeFw0yMDA0MDYyMDE5NDJaFw0yMTA0MDcyMDE5NDJaMBkxFzAVBgNVBAMTDmFucGludC1UZXN0Vk0zMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAr9n0XUYEuWmXzZw9DNhSsp3QALPTPvHizpRJS4+g/ZRsjkiAwrgmOUX2XLYD/ThTNrHc7xga71gyuo7p+AsJy5dxdwi+bK2j7fJI/qU4waFKR9oA/Uu0uhWJ1GcPK72zM/DiG0rGlgEJUJe/Eq/DxWHDydYN2LLcI1fA9SpN3TawEs2zP1wxNX4olhstCm7J7ip3m9UY1gnKaI95ZOutEyrq9nEBMw/PaV9U0Tzq6w22aQDtu1CNrge5Kzpduw1qo2b/+eOZycsPuvupSB6Hl0/BUpqNVgQg56Q1znrTt0NKHcEumpu/v5w1OV7NcDNcsQmujvsHvk5Ze8FptsVA3QIDAQABoyYwJDAiBgNVHSUBAf8EGDAWBggrBgEFBQcDAgYKKwYBBAGCNwoDDDANBgkqhkiG9w0BAQ0FAAOCAQEACverHCPOmBbUuZnnrqBc2z5hL+K22WjpHBL5sxhaAiexqvM0OjH+ifFWHyGge+03/UEjhfdN3OFe0n0gAsweWuyc33pNVDb+DBXT2oW6TZrNVqs+eWw+4Haa2DiKV3+JqSK2148AY82Ny31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o2AF1oVNkSmNfH1bswPigrD2va4orP9xsxEaYsI181EXq5xcHO/sfHOGALcHEX/ph5VQ6Gn87vrQih6TfpegtC328ckcPAkpDJS6idB4U6B7S3ceZo6bWYnVW3DitwEytxkQkoA==";
}

public static CloudEndpointCreateParameters GetDefaultCloudEndpointParameters()
Expand Down

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Microsoft.Azure.Management.StorageSync.Tests
{
public class RegisteredServerTests
{
[Fact(Skip = "Pending bug fix in the service")]
[Fact]
public void RegisteredServerCreateTest()
{
var handler = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK };
Expand Down Expand Up @@ -50,7 +50,7 @@ public void RegisteredServerCreateTest()
}
}

[Fact(Skip = "Pending bug fix in the service")]
[Fact]
public void RegisteredServerGetTest()
{
var handler = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK };
Expand Down Expand Up @@ -87,7 +87,7 @@ public void RegisteredServerGetTest()
}
}

[Fact(Skip = "Pending bug fix in the service")]
[Fact]
public void RegisteredServerTriggerRolloverTest()
{
var handler = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK };
Expand Down Expand Up @@ -127,7 +127,7 @@ public void RegisteredServerTriggerRolloverTest()
}
}

[Fact(Skip = "Pending bug fix in the service")]
[Fact]
public void RegisteredServerListTest()
{
var handler = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK };
Expand Down Expand Up @@ -165,7 +165,7 @@ public void RegisteredServerListTest()
}
}

[Fact(Skip = "Pending bug fix in the service")]
[Fact]
public void RegisteredServerDeleteTest()
{
var handler = new RecordedDelegatingHandler { StatusCodeToReturn = HttpStatusCode.OK };
Expand Down

0 comments on commit 359b2c9

Please sign in to comment.