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: terraform go permission integration testing failure #4970

Merged
merged 16 commits into from
Apr 5, 2023

Conversation

moelasmar
Copy link
Contributor

Why is this change necessary?

To fix the failing integration test case tests/integration/buildcmd/test_build_terraform_applications_other_cases.py::TestBuildGoFunctionAndKeepPermissions::test_invoke_function

How does it address the issue?

I fixed the test cases asserting, and the building scripts for windows environment.

Mandatory Checklist

PRs will only be reviewed after checklist is complete

  • Add input/output type hints to new functions/methods
  • Write design document if needed (Do I need to write a design document?)
  • Write/update unit tests
  • Write/update integration tests
  • Write/update functional tests if needed
  • make pr passes
  • make update-reproducible-reqs if dependencies were changed
  • Write documentation

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@moelasmar moelasmar requested a review from a team as a code owner April 5, 2023 00:21
@moelasmar moelasmar requested review from jfuss and qingchm April 5, 2023 00:21
@@ -310,10 +310,10 @@ def test_invoke_function(self):

_, stderr, return_code = self.run_command(build_cmd_list, env=environment_variables)
LOG.info(stderr)
self.assertNotEqual(return_code, 0)
self.assertEqual(return_code, 0)
Copy link
Contributor

Choose a reason for hiding this comment

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

Why did this assertion flip?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It was a mistake, we need to make sure that the build is successful

@moelasmar moelasmar added this pull request to the merge queue Apr 5, 2023
Merged via the queue into aws:develop with commit 27935d7 Apr 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants