Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix tests #6

Merged
merged 6 commits into from
Sep 19, 2023
Merged

fix tests #6

merged 6 commits into from
Sep 19, 2023

Conversation

simar7
Copy link
Member

@simar7 simar7 commented Sep 15, 2023

No description provided.

@simar7 simar7 marked this pull request as ready for review September 18, 2023 21:08
@simar7
Copy link
Member Author

simar7 commented Sep 18, 2023

@nikpivkin could you take a look at reviewing this?

return nil
}

func Test_Docker_RegoPoliciesFromDisk(t *testing.T) {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This test loads Rego rules from the file system, but we moved the rules to another repo, so do we need this test? There are other tests that use custom rules.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK for the moment I've commented out until we figure out what we can (if anything) do with it. c8beec6

@simar7 simar7 requested a review from nikpivkin September 19, 2023 08:37
@nikpivkin
Copy link
Collaborator

@simar7 I restarted the tests and they completed successfully. The problem was related to the terraform module cache (reproduced locally). We can add a new option for terraform parser that will disallow using the cache to load modules.

Copy link
Collaborator

@nikpivkin nikpivkin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@simar7 simar7 merged commit f35a283 into main Sep 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants