You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
`After 3 retries within 6s of creating the installation access token, the response remains 401. At this point, the cause may be an authentication problem or a system outage. Please check https://www.githubstatus.com for status information`,
1921
1923
);
1922
1924
});
1923
1925
1924
1926
// it takes 3 retries until a total time of more than 5s pass
1925
-
awaitclock.tickAsync(1000);
1926
-
awaitclock.tickAsync(2000);
1927
-
awaitclock.tickAsync(3000);
1927
+
// Note sure why the first advance is needed, but it helped unblock https://github.com/octokit/auth-app.js/pull/580
1928
+
awaitjest.advanceTimersByTimeAsync(100);
1929
+
awaitjest.advanceTimersByTimeAsync(1000);
1930
+
awaitjest.advanceTimersByTimeAsync(2000);
1931
+
awaitjest.advanceTimersByTimeAsync(3000);
1932
+
awaitjest.runAllTimersAsync();
1933
+
1934
+
awaitpromise;
1928
1935
});
1929
1936
1930
1937
test("auth.hook(): throws on 500 error without retries",async()=>{
0 commit comments