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

Do some test cleanup #952

Merged
merged 2 commits into from Jan 10, 2022
Merged

Do some test cleanup #952

merged 2 commits into from Jan 10, 2022

Conversation

Shrews
Copy link
Contributor

@Shrews Shrews commented Jan 7, 2022

We have been seeing some random test failures due to No space left on device errors. Not entirely sure what is causing that, but this is at least a start. This will remove the copy of the test project tree that is made for every test that uses the project_fixtures fixture.

Also, remove a now unused pytest fixture (clear_integration_artifacts).

Also fix a flaky test (test_stdout_file_no_write) that fails randomly under pexpect preventing this from merging. The assert's being removed are not actually testing the feature.

@Shrews Shrews requested a review from a team as a code owner January 7, 2022 16:52
@Shrews
Copy link
Contributor Author

Shrews commented Jan 7, 2022

recheck

@eqrx eqrx added the gate label Jan 10, 2022
Copy link
Contributor

@ansible-zuul ansible-zuul bot left a comment

Choose a reason for hiding this comment

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

LGTM!

@ansible-zuul ansible-zuul bot merged commit 0e451fc into ansible:devel Jan 10, 2022
@Shrews Shrews deleted the test_cleanup branch January 10, 2022 16:32
Shrews added a commit to Shrews/ansible-runner that referenced this pull request Jan 27, 2022
Do some test cleanup

We have been seeing some random test failures due to No space left on device errors. Not entirely sure what is causing that, but this is at least a start. This will remove the copy of the test project tree that is made for every test that uses the project_fixtures fixture.
Also, remove a now unused pytest fixture (clear_integration_artifacts).
Also fix a flaky test (test_stdout_file_no_write) that fails randomly under pexpect preventing this from merging. The assert's being removed are not actually testing the feature.

Reviewed-by: Alan Rominger <arominge@redhat.com>
Reviewed-by: Alexander Sowitzki <dev@eqrx.net>
Reviewed-by: None <None>
(cherry picked from commit 0e451fc)
Shrews added a commit to Shrews/ansible-runner that referenced this pull request Jan 27, 2022
Do some test cleanup

We have been seeing some random test failures due to No space left on device errors. Not entirely sure what is causing that, but this is at least a start. This will remove the copy of the test project tree that is made for every test that uses the project_fixtures fixture.
Also, remove a now unused pytest fixture (clear_integration_artifacts).
Also fix a flaky test (test_stdout_file_no_write) that fails randomly under pexpect preventing this from merging. The assert's being removed are not actually testing the feature.

Reviewed-by: Alan Rominger <arominge@redhat.com>
Reviewed-by: Alexander Sowitzki <dev@eqrx.net>
Reviewed-by: None <None>
(cherry picked from commit 0e451fc)
ansible-zuul bot pushed a commit that referenced this pull request Jan 31, 2022
[backport][release_2.0] Do some test cleanup (#952)

Backport of PR #952
(cherry picked from commit 0e451fc)

Reviewed-by: Alexander Sowitzki <dev@eqrx.net>
Reviewed-by: None <None>
ansible-zuul bot pushed a commit that referenced this pull request Jan 31, 2022
[backport][release_2.1] Do some test cleanup (#952)

Backport of PR #952
(cherry picked from commit 0e451fc)

Reviewed-by: Alexander Sowitzki <dev@eqrx.net>
Reviewed-by: None <None>
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.

None yet

3 participants