You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The test assertions in org.apache.helix.rest.metadatastore.TestZkMetadataStoreDirectory#testGetAllMetadataStoreRealms and org.apache.helix.rest.metadatastore.TestZkMetadataStoreDirectory#testGetAllShardingKeys are flaky.
These tests compare two sets for containing the same elements in the same order – but it is not deterministic in which order the elements are returned from a set – resulting in a flaky test.
hofi1
changed the title
flaky test assertion in org.apache.helix.rest.metadatastore.TestZkMetadataStoreDirectory#testComputePartitionAssignment
flaky test assertions in org.apache.helix.rest.metadatastore.TestZkMetadataStoreDirectory#testComputePartitionAssignment
Oct 5, 2023
hofi1
changed the title
flaky test assertions in org.apache.helix.rest.metadatastore.TestZkMetadataStoreDirectory#testComputePartitionAssignment
flaky test assertions in org.apache.helix.rest.metadatastore.TestZkMetadataStoreDirectory
Oct 5, 2023
hofi1
pushed a commit
to hofi1/helix
that referenced
this issue
Oct 5, 2023
Describe the bug
The test assertions in org.apache.helix.rest.metadatastore.TestZkMetadataStoreDirectory#testGetAllMetadataStoreRealms and org.apache.helix.rest.metadatastore.TestZkMetadataStoreDirectory#testGetAllShardingKeys are flaky.
These tests compare two sets for containing the same elements in the same order – but it is not deterministic in which order the elements are returned from a set – resulting in a flaky test.
To Reproduce
run:
Expected behavior
Test should not be flaky – it should pass or fail (in the current case it should pass)
Additional context
non
The text was updated successfully, but these errors were encountered: