Skip to content

Commit 3f5ed6a

Browse files
authored
Disable attestation tests for KeyGuardKey on Azure Arc (#5563)
* Disable attestation tests for KeyGuardKey on Azure Arc Comment out TestMethod attribute for KeyGuardKey tests. * Update KeyGuardAttestationTests.cs
1 parent 4956d58 commit 3f5ed6a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

tests/Microsoft.Identity.Test.E2e/KeyGuardAttestationTests.cs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ Restricted to Azure Arc (MI_E2E_AzureArc) because:
108108
Fails fast with Assert.Inconclusive when prerequisites are missing.
109109
*/
110110
[TestCategory("MI_E2E_AzureArc")]
111-
[RunOnAzureDevOps]
112-
[TestMethod]
111+
//[RunOnAzureDevOps]
112+
//[TestMethod]
113113
public void Attest_KeyGuardKey_OnAzureArc_Succeeds()
114114
{
115115
// Endpoint is provisioned only on the Azure Arc agent (backed by MSI / identity service).
@@ -168,8 +168,8 @@ Demonstrates PopKeyAttestor.AttestKeyGuardAsync which wraps the native synchrono
168168
Same environmental constraints as the synchronous test; still limited to the Azure Arc agent.
169169
*/
170170
[TestCategory("MI_E2E_AzureArc")]
171-
[RunOnAzureDevOps]
172-
[TestMethod]
171+
//[RunOnAzureDevOps]
172+
//[TestMethod]
173173
public async Task Attest_KeyGuardKey_OnAzureArc_Async_Succeeds()
174174
{
175175
var endpoint = Environment.GetEnvironmentVariable("TOKEN_ATTESTATION_ENDPOINT");

0 commit comments

Comments
 (0)