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: make indirect host counting live test more reliable #15870

Open
wants to merge 1 commit into
base: devel
Choose a base branch
from

Conversation

pb82
Copy link
Contributor

@pb82 pb82 commented Mar 4, 2025

SUMMARY

Make the live tests for indirect host counting more reliable. Wait until all events have been processed, before running save_indirect_host_entries and then checking audit records.

ISSUE TYPE
  • Bug, Docs Fix or other nominal change
COMPONENT NAME
  • API
AWX VERSION
devel
ADDITIONAL INFORMATION

Copy link

sonarqubecloud bot commented Mar 4, 2025

Copy link

codecov bot commented Mar 4, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 75.31%. Comparing base (7b8b37d) to head (293abc8).

✅ All tests successful. No failed tests found.

@AlanCoding
Copy link
Member

I had also started in this direction, but I think it misses something. The loop this is adding doesn't make any sense, because it duplicates an existing loop and is using the wrong heuristic.

I think this was already "fixed", but that fix didn't anticipate that the task didn't need to be restarted, yet at the same time, was still running and could be out-paced by the test. Can't say it in words well enough, put up - #15871

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