mirror of
https://github.com/docker/build-push-action.git
synced 2024-12-25 16:22:12 -05:00
Increase tests timeout
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
6aa6546aaa
commit
807389ab0d
1 changed files with 3 additions and 3 deletions
|
@ -8,20 +8,20 @@ const tmpDir = fs.mkdtempSync(path.join(os.tmpdir(), 'setup-buildx-'));
|
||||||
describe('buildx', () => {
|
describe('buildx', () => {
|
||||||
it('is available', async () => {
|
it('is available', async () => {
|
||||||
expect(await buildx.isAvailable()).toBe(true);
|
expect(await buildx.isAvailable()).toBe(true);
|
||||||
});
|
}, 100000);
|
||||||
|
|
||||||
it('count builders', async () => {
|
it('count builders', async () => {
|
||||||
const countBuilders = await buildx.countBuilders();
|
const countBuilders = await buildx.countBuilders();
|
||||||
console.log(`countBuilders: ${countBuilders}`);
|
console.log(`countBuilders: ${countBuilders}`);
|
||||||
expect(countBuilders).toBeGreaterThan(0);
|
expect(countBuilders).toBeGreaterThan(0);
|
||||||
});
|
}, 100000);
|
||||||
|
|
||||||
it('platforms', async () => {
|
it('platforms', async () => {
|
||||||
const platforms = await buildx.platforms();
|
const platforms = await buildx.platforms();
|
||||||
console.log(`platforms: ${platforms}`);
|
console.log(`platforms: ${platforms}`);
|
||||||
expect(platforms).not.toBeUndefined();
|
expect(platforms).not.toBeUndefined();
|
||||||
expect(platforms).not.toEqual('');
|
expect(platforms).not.toEqual('');
|
||||||
});
|
}, 100000);
|
||||||
|
|
||||||
it('acquires v0.2.2 version of buildx', async () => {
|
it('acquires v0.2.2 version of buildx', async () => {
|
||||||
const buildxBin = await buildx.install('v0.2.2', tmpDir);
|
const buildxBin = await buildx.install('v0.2.2', tmpDir);
|
||||||
|
|
Loading…
Reference in a new issue