docker: retries for install integration tests

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2023-03-26 14:47:10 +02:00
parent 70fba4e078
commit da9600bbef
No known key found for this signature in database
GPG Key ID: 3248E46B6BB8C7F7

View File

@ -15,7 +15,7 @@
*/
import path from 'path';
import {describe, expect, test} from '@jest/globals';
import {jest, describe, expect, test} from '@jest/globals';
import {Install} from '../../src/docker/install';
import {Docker} from '../../src/docker/docker';
@ -24,6 +24,7 @@ import {Docker} from '../../src/docker/docker';
const tmpDir = path.join(process.env.TEMP || '/tmp', 'docker-install-jest');
describe('install', () => {
jest.retryTimes(2);
// prettier-ignore
test.each(['v23.0.0'])(
'install docker %s', async (version) => {