Skip to content

[JENKINS-72613] Demonstrating bug & fix in test #292

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

Merged
merged 3 commits into from
Feb 12, 2024

Conversation

jglick
Copy link
Member

@jglick jglick commented Jan 26, 2024

@jglick jglick added the test label Jan 26, 2024
Comment on lines +303 to +304
assertThat(mp.getItems().stream().map(AbstractItem::getName).toArray(String[]::new),
arrayContainingInAnyOrder("master", "ok-1", "danger_1"));
Copy link
Member Author

Choose a reason for hiding this comment

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

Without fix:

Expected: ["master", "ok-1", "danger_1"] in any order
     but: not matched: "danger-1.i2g9ue"

@jglick jglick marked this pull request as ready for review February 12, 2024 13:52
@jglick jglick requested a review from a team as a code owner February 12, 2024 13:52
@jglick jglick enabled auto-merge February 12, 2024 13:53
@jglick jglick added developer and removed test labels Feb 12, 2024
@jglick jglick merged commit a6ebef6 into jenkinsci:master Feb 12, 2024
@jglick jglick deleted the getItemName-JENKINS-72613 branch February 12, 2024 16:52
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.

3 participants