Skip to content

Conversation

@PVince81
Copy link
Contributor

@PVince81 PVince81 commented Dec 6, 2016

Description

If share times are equal, the first share should still win instead of
having the shares swapped.

Related Issue

Fixes #25830

Motivation and Context

Because it makes tests randomly fail.

How Has This Been Tested?

Not possible to humanly manual test this.
You can hower swap -1 and 1 before this fix and see how it makes the test from #25830 fail. This clearly shows the when running the tests, sometimes the shares a swapped, likely when their share time is equal.

Screenshots (if appropriate):

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@SergioBertolinSG @jvillafanez @DeepDiver1975 @PhilippSchaffrath

If share times are equal, the first share should still win instead of
having the shares swapped.
@PVince81 PVince81 added this to the 9.2 milestone Dec 6, 2016
@mention-bot
Copy link

@PVince81, thanks for your PR! By analyzing the history of the files in this pull request, we identified @DeepDiver1975 to be a potential reviewer.

@DeepDiver1975
Copy link
Member

👍

@DeepDiver1975 DeepDiver1975 merged commit f4f7bd6 into master Dec 6, 2016
@DeepDiver1975 DeepDiver1975 deleted the fix-groupshare-sharetimesort branch December 6, 2016 22:37
@DeepDiver1975
Copy link
Member

@lock
Copy link

lock bot commented Aug 4, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 4, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Integration test about merging shares randomly fails

4 participants