Skip to content

Fix test that fail on rerun due to expecting exact IDs#14943

Merged
TheRealHaoLiu merged 1 commit into
ansible:develfrom
TheRealHaoLiu:fix-test-that-require-exact-id
Mar 1, 2024
Merged

Fix test that fail on rerun due to expecting exact IDs#14943
TheRealHaoLiu merged 1 commit into
ansible:develfrom
TheRealHaoLiu:fix-test-that-require-exact-id

Conversation

@TheRealHaoLiu

@TheRealHaoLiu TheRealHaoLiu commented Mar 1, 2024

Copy link
Copy Markdown
Member
SUMMARY

example failure for test_project_list_ordering_with_duplicate_names on rerun

    assert project_ids[0] == project_ids[1] == project_ids[2] == [1, 2, 3, 4, 5]
AssertionError: assert [16, 17, 18, 19, 20] == [1, 2, 3, 4, 5]

example failure for test_project_list_ordering_by_name on rerun

    assert project_names == expected_names and project_ids == expected_ids
AssertionError: assert (['shared proj...lice project'] == ['shared proj...lice project']
  
  Use -v to get more diff and [18, 17, 16] == [3, 2, 1]
ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API
AWX VERSION
awx: 23.9.1.dev9+g8cf2861491
ADDITIONAL INFORMATION

due to expecting exact IDs
@TheRealHaoLiu TheRealHaoLiu merged commit b7b7bfa into ansible:devel Mar 1, 2024
@TheRealHaoLiu TheRealHaoLiu deleted the fix-test-that-require-exact-id branch March 1, 2024 17:37
djyasin pushed a commit to djyasin/awx that referenced this pull request Sep 16, 2024
Fix test that fail on rerun

due to expecting exact IDs
djyasin pushed a commit to djyasin/awx that referenced this pull request Nov 11, 2024
Fix test that fail on rerun

due to expecting exact IDs
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