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

Cleanup in-memory data from test that randomly causes other failures #15716

Merged
merged 1 commit into from
Dec 18, 2024

Conversation

AlanCoding
Copy link
Member

SUMMARY

Discovered in #15711 that did nothing at all related to this

this is a test ordering bug, because the test added to the registry.

This patch removes the test data from the registry.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API

@AlanCoding
Copy link
Member Author

Reproduction of the failure before this patch

py.test awx/main/tests/functional/ -k "test_cloudforms_inventory_removal or test_default_cred_types"

this produces the following, consistent with the report.

    assert sorted(CredentialType.defaults.keys()) == sorted(
AssertionError: assert ['aim', 'aws'...c_token', ...] == ['aim', 'aws'...c_token', ...]
  
  At index 7 diff: 'cloudforms' != 'conjur'
  Left contains one more item: 'vmware'
  Use -v to get more diff

@AlanCoding AlanCoding merged commit 288e8d7 into ansible:devel Dec 18, 2024
21 checks passed
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.

2 participants