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

Refs #38003 - Fix broken ACS test #11237

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Conversation

ianballou
Copy link
Member

What are the changes introduced in this pull request?

Fixes a test with random failures

Considerations taken when implementing this change?

...

What are the testing steps for this pull request?

See the tests pass here.
Also try the test with different seed values:

ktest test/actions/katello/repository_test.rb --seed 32408

Copy link
Member

@chris1984 chris1984 left a comment

Choose a reason for hiding this comment

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

ACK works well tested it with a random seed and the one causing an issue:

# Running tests with run options --seed 17658:

........................DEPRECATED: global use of must_include from /home/vagrant/katello/test/actions/katello/repository_test.rb:410. Use _(obj).must_include instead. This will fail in Minitest 6.
.........................................Writing XML reports to /home/vagrant/foreman/jenkins/reports/unit


Finished tests in 5.914260s, 10.9904 tests/s, 28.2368 assertions/s.
# Running tests with run options --seed 32408:

...........DEPRECATED: global use of must_include from /home/vagrant/katello/test/actions/katello/repository_test.rb:410. Use _(obj).must_include instead. This will fail in Minitest 6.
......................................................Writing XML reports to /home/vagrant/foreman/jenkins/reports/unit


Finished tests in 5.989994s, 10.8514 tests/s, 27.8798 assertions/s.


65 tests, 167 assertions, 0 failures, 0 errors, 0 skips

@chris1984 chris1984 self-assigned this Nov 26, 2024
@ianballou ianballou merged commit 7ad24da into Katello:master Nov 26, 2024
26 checks passed
@ianballou ianballou deleted the fix-38003-tests branch November 26, 2024 20:04
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