From e164c1dfcdd3c3889d1abcc009253da60b7a2215 Mon Sep 17 00:00:00 2001 From: Michel Kaporin Date: Wed, 26 Apr 2023 13:29:49 +0200 Subject: [PATCH] fix: gradle acceptance test [HEAD-283] (#4571) * Revert "fix: temporarily skip failing gradle test" This reverts commit c194271ee0fd95e0c81d738caeb94cb5be49182e. * fix: pin arm image * chore: pin linux version for stability --- .circleci/config.yml | 4 ++-- .../acceptance/snyk-test/basic-test-all-languages.spec.ts | 3 +-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 54291b4832..7a32711703 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -36,12 +36,12 @@ executors: resource_class: large arm64: machine: - image: ubuntu-2204:current + image: ubuntu-2204:2023.02.1 working_directory: /mnt/ramdisk/snyk resource_class: arm.large linux: machine: - image: ubuntu-2204:current + image: ubuntu-2204:2023.02.1 working_directory: /mnt/ramdisk/snyk resource_class: large macos: diff --git a/test/jest/acceptance/snyk-test/basic-test-all-languages.spec.ts b/test/jest/acceptance/snyk-test/basic-test-all-languages.spec.ts index ea95c20485..d71a182b91 100644 --- a/test/jest/acceptance/snyk-test/basic-test-all-languages.spec.ts +++ b/test/jest/acceptance/snyk-test/basic-test-all-languages.spec.ts @@ -89,8 +89,7 @@ describe('`snyk test` of basic projects for each language/ecosystem', () => { expect(code).toEqual(0); }); - // temporarily skipping test to unblock pipeline - test.skip('run `snyk test` on a gradle project', async () => { + test('run `snyk test` on a gradle project', async () => { const project = await createProjectFromWorkspace('gradle-app'); const { code } = await runSnykCLI('test -d', {