-
Notifications
You must be signed in to change notification settings - Fork 1k
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
assertEquals(Set,Set) now ignores ordering as it did before, fixes #2643 #2648
Conversation
Thank for the fix. I'm always feeling nervous when we change a test and even more when the test is linked to another issue. We will review the changes carefully asap. |
I don't see how these CI failures are related to my pullrequest, it looks like unstable test more or less. |
Don't worry. Tests are failing with some specific environments. |
I wonder when do you think this PR could be submitted? |
@krmahadevan Could you have a look at it? I think it will make a regression for #2540 Could you confirm? |
@juherr - The fix for #2540 involved changing things in assertions that deal with |
Ok. I understand where was my mistake: I didn't see the cast into |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Update tests in order to check both GITHUB-2540
and GITHUB-2643
.
CHANGES.txt
Outdated
@@ -1,4 +1,5 @@ | |||
Current | |||
Fixed: GITHUB-2643: assertEquals(Set,Set) now ignores ordering as it did before. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
add (Elis Edlund)
@Elisedlund-ericsson I think that you need to squash your commits. |
@@ -400,24 +400,42 @@ public void checkSetEquals() { | |||
assertEquals(set1, set2); | |||
} | |||
|
|||
@Test(description = "GITHUB-2540") | |||
public void checkSetNotEquals() { | |||
@Test(description = "GITHUB-2540 and GITHUB-2643", expectedExceptions = AssertionError.class) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remove reference to GITHUB-2540
32bb6ba
to
573607b
Compare
see #2643
the https://github.com/cbeust/testng/blob/master/CONTRIBUTING.md is linked from the readme.md but does not exist from what I can see, (so excuse me if I didn't follow the correct WoW)