Skip to content

Commit

Permalink
chore: More workarounds for tests using DIF universal resolver which …
Browse files Browse the repository at this point in the history
…is not reliable (sigh)
  • Loading branch information
nklomp committed Feb 15, 2025
1 parent bbd8d7e commit 150a986
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ describe('verify JWT from Request JWT should', () => {
/invalid_jwt: JWT has expired: exp: 1632272403/,
)
} catch (e) {
if (e.message.includes('Service Unavailable')) {
if (e.message.includes('Service Unavailable') || e.message.includes('503 Service Unavailable')) {
console.warn('Temporarily skipped due to Service Unavailable')
} else {
throw e
Expand All @@ -51,7 +51,7 @@ describe('verify JWT from Request JWT should', () => {
/invalid_jwt: JWT has expired: exp: 1632272403/,
)
} catch (e) {
if (e.message.includes('Service Unavailable')) {
if (e.message.includes('Service Unavailable') || e.message.includes('503 Service Unavailable')) {
console.warn('Temporarily skipped due to Service Unavailable')
} else {
throw e
Expand Down

0 comments on commit 150a986

Please sign in to comment.