Skip to content

Commit

Permalink
remove correlate no config shas flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigo-roca committed Oct 29, 2024
1 parent 5054cea commit f38473a
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/commands/deployment/__tests__/correlate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,18 +38,6 @@ describe('execute', () => {
expect(code).toBe(1)
expect(context.stdout.toString()).toContain('Could not extract the commit SHA from the CI environment variables')
})
test('no configuration commit shas', async () => {
const envVars = {
GITLAB_CI: 'placeholder',
CI_REPOSITORY_URL: 'https://github.com/DataDog/example',
CI_COMMIT_SHA: 'abcdef',
}
const {context, code} = await runCLI(['--provider', 'argocd', '--dry-run'], envVars)
expect(code).toBe(1)
expect(context.stdout.toString()).toContain(
'Could not retrieve commit SHAs, commit changes and then call this command or provide them with --config-shas'
)
})
test('valid with minimal data', async () => {
const envVars = {
GITLAB_CI: 'placeholder',
Expand Down

0 comments on commit f38473a

Please sign in to comment.