Merge pull request #147 from crazy-max/docker-install-backoff

docker(install): increase number of retries
This commit is contained in:
CrazyMax
2023-08-18 11:36:20 +02:00
committed by GitHub
2 changed files with 4 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ const tmpDir = path.join(process.env.TEMP || '/tmp', 'docker-install-jest');
describe('install', () => {
jest.retryTimes(2, {logErrorsBeforeRetry: true});
// prettier-ignore
test.each(['v23.0.0'])(
test.each(['v24.0.5'])(
'install docker %s', async (version) => {
await expect((async () => {
const install = new Install({
@@ -40,5 +40,5 @@ describe('install', () => {
await Docker.printInfo();
await install.tearDown();
})()).resolves.not.toThrow();
});
}, 100000);
});

View File

@@ -207,7 +207,8 @@ export class Install {
});
},
{
retries: 5
retries: 10,
minTimeout: 1000
}
);
core.info(`Docker daemon started started successfully`);