mirror of
https://github.com/docker/actions-toolkit.git
synced 2024-11-26 22:26:08 +08:00
docker: retries for install integration tests
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
70fba4e078
commit
da9600bbef
@ -15,7 +15,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
import path from 'path';
|
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 {Install} from '../../src/docker/install';
|
||||||
import {Docker} from '../../src/docker/docker';
|
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');
|
const tmpDir = path.join(process.env.TEMP || '/tmp', 'docker-install-jest');
|
||||||
|
|
||||||
describe('install', () => {
|
describe('install', () => {
|
||||||
|
jest.retryTimes(2);
|
||||||
// prettier-ignore
|
// prettier-ignore
|
||||||
test.each(['v23.0.0'])(
|
test.each(['v23.0.0'])(
|
||||||
'install docker %s', async (version) => {
|
'install docker %s', async (version) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user