-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
[chore][pkg/pdataset/pmetrictest] introduce IgnoreDatapointAttributesOrder option to CompareMetricsOption #34076
Conversation
Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
Signed-off-by: odubajDT <[email protected]>
Is this a duplicate of #34070? |
I don't this this is duplicate. This PR introduces a |
Sorry, my question was whether they solve the same problem. This PR here had no description before, making it hard to tell what's the problem it's solving. Can you add "Fixes #xyz" to the description, pointing it to the issue it fixes? |
Yes I agree the title was a little misleading, sorry for that, I already adapted it. Unfortunately (AFAIK) there is no issue created regarding the problem with the flakyness of the test, but since I was working on one of the components and the connector test was randomly failing, I looked at it and figured out it's due to comparison of the attribute lists (different orders, but same content). Therefore I went for a small improvement by introducing the Hope it's not a problem there is no issue regarding this, since it's basically only adaptation of test code and not production code |
Sorry, but it does sound like it's the same issue that the other PR is aiming to solve: #33998 I think I prefer this approach here, but I want to make sure we don't have two work streams for the same thing, and end up with both PRs getting merged when only one is necessary. |
Leaving the decision up to you, thanks for the info! |
I'm marking this as solving #33998 , but let me know if you think this is a different problem. |
@t00mas, can you review this one as well, and compare with the other PR solving the same problem? |
Given how frequent this failure is, and that this change seems more sustainable than the other PR, I approved and merged this one. I'll block the other one, unblocking in case it provides extra value. |
Hi, can you point to the failing test run? Thank you! |
By introducing the new option and using it in the
servicegraphconnector
test, the flakyness of the test and therefore false positives are resolvedFixes #33998