Skip to content

Revert "Merge pull request #276 from petli/memory-mapped-hit-counts" #322

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 1 commit into from
Jan 27, 2019

Conversation

ViktorHofer
Copy link
Contributor

@ViktorHofer ViktorHofer commented Jan 24, 2019

This reverts commit 0d285b1

Reasoning: #276 (comment)

cc @petli @sharwell @tonerdo

…pped-hit-counts"

This reverts commit 0d285b1, reversing
changes made to 15a4e62.
@codecov
Copy link

codecov bot commented Jan 24, 2019

Codecov Report

Merging #322 into master will decrease coverage by 0.95%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #322      +/-   ##
==========================================
- Coverage   87.53%   86.57%   -0.96%     
==========================================
  Files          16       16              
  Lines        2045     2011      -34     
==========================================
- Hits         1790     1741      -49     
- Misses        255      270      +15

1 similar comment
@codecov
Copy link

codecov bot commented Jan 24, 2019

Codecov Report

Merging #322 into master will decrease coverage by 0.95%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #322      +/-   ##
==========================================
- Coverage   87.53%   86.57%   -0.96%     
==========================================
  Files          16       16              
  Lines        2045     2011      -34     
==========================================
- Hits         1790     1741      -49     
- Misses        255      270      +15

{
var t = new Thread(HitIndex);
t.Start(i);
t.Join();
Copy link
Collaborator

Choose a reason for hiding this comment

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

This line should be kept, because not waiting for the test threads to finish running makes the test unreliable. Then the Skip on the test can probably be removed.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Maybe better track with issue and fix with a PR after merge.

Copy link
Contributor

Choose a reason for hiding this comment

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

I generally prefer to do a full revert if possible, and then re-apply the part(s) that are still desired, but I wouldn't be opposed to either approach.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Agreed, that is better. Optionally, the code this test is testing is no longer in the code base after changing to Interlocked.Increment in RecordHit so it could be removed altogether.

@tonerdo tonerdo merged commit c2ba965 into coverlet-coverage:master Jan 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants