File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed
Microsoft.Identity.Test.E2e
Microsoft.Identity.Test.Integration.netcore/HeadlessTests Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -362,6 +362,12 @@ private static async Task CallAkvSecretAsync(
362362 using var response = await httpClient . GetAsync ( new Uri ( secretUrl ) ) . ConfigureAwait ( false ) ;
363363 var responseContent = await response . Content . ReadAsStringAsync ( ) . ConfigureAwait ( false ) ;
364364
365+ if ( ( int ) response . StatusCode >= 500 )
366+ {
367+ Assert . Inconclusive (
368+ $ "AKV service returned a server error (inconclusive): { ( int ) response . StatusCode } { response . StatusCode } . Body: { responseContent } ") ;
369+ }
370+
365371 Assert . IsTrue (
366372 response . IsSuccessStatusCode ,
367373 $ "AKV secret GET failed: { ( int ) response . StatusCode } { response . StatusCode } . Body: { responseContent } ") ;
Original file line number Diff line number Diff line change @@ -205,6 +205,7 @@ public async Task WamSilentAuthLoginHintNoAccontInCacheAsync()
205205 }
206206 }
207207
208+ [ DoNotRunOnLinux ] // WAM broker tests fail on Linux due to DBus communication issues
208209 [ IgnoreOnOneBranch ]
209210 [ TestMethod ]
210211 public async Task WamUsernamePasswordRequestAsync ( )
@@ -304,6 +305,7 @@ public async Task WamWithSSHCertificateAuthenticationSchemeAsync()
304305 Assert . AreEqual ( "SshCert" , result . TokenType ) ;
305306 }
306307
308+ [ DoNotRunOnLinux ] // WAM broker tests fail on Linux due to DBus communication issues
307309 [ IgnoreOnOneBranch ]
308310 [ TestMethod ]
309311 public async Task WamUsernamePasswordWithForceRefreshAsync ( )
@@ -357,6 +359,7 @@ public async Task WamUsernamePasswordWithForceRefreshAsync()
357359 Assert . AreNotEqual ( ropcToken , result . AccessToken ) ;
358360 }
359361
362+ [ DoNotRunOnLinux ] // WAM broker tests fail on Linux due to DBus communication issues
360363 [ IgnoreOnOneBranch ]
361364 [ TestMethod ]
362365 public async Task WamUsernamePasswordRequestAsync_WithPiiAsync ( )
@@ -454,6 +457,7 @@ public async Task WamListWindowsWorkAndSchoolAccountsAsync()
454457 Assert . AreEqual ( user . Upn , account . Username ) ;
455458 }
456459
460+ [ DoNotRunOnLinux ] // WAM broker tests fail on Linux due to DBus communication issues
457461 [ IgnoreOnOneBranch ]
458462 [ TestMethod ]
459463 [ DataRow ( null ) ]
You can’t perform that action at this time.
0 commit comments