Skip to content

Commit 5f5719a

Browse files
committed
User Story 38467: Backport mac server name fix
- Adding console diagnostics to slow enclave tests.
1 parent 361189c commit 5f5719a

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

src/Microsoft.Data.SqlClient/tests/ManualTests/AlwaysEncrypted/TestTrustedMasterKeyPaths.cs

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,19 @@ private static void LogEnd(
4242
public TestTrustedMasterKeyPaths(SQLSetupStrategyCertStoreProvider fixture)
4343
{
4444
LogStart();
45-
columnMasterKeyPath = string.Format(@"{0}/{1}/{2}", StoreLocation.CurrentUser.ToString(), @"my", CertificateUtility.CreateCertificate().Thumbprint);
45+
46+
Log("Getting store location current user...");
47+
var user = StoreLocation.CurrentUser.ToString();
48+
Log($"Store location current user: {user}");
49+
50+
Log("Creating certificate...");
51+
var cert = CertificateUtility.CreateCertificate();
52+
Log($"Created certificate with thumbprint {cert.Thumbprint}");
53+
54+
columnMasterKeyPath = $"{user}/my/{cert.Thumbprint}";
4655
this.fixture = fixture;
4756
tableName = fixture.TrustedMasterKeyPathsTestTable.Name;
57+
4858
LogEnd();
4959
}
5060

0 commit comments

Comments
 (0)