Skip to content

GCed ref causes flaky test#3131

Merged
beeender merged 1 commit intoreleasesfrom
mc/flaky-test
Jul 5, 2016
Merged

GCed ref causes flaky test#3131
beeender merged 1 commit intoreleasesfrom
mc/flaky-test

Conversation

@beeender
Copy link
Copy Markdown
Contributor

@beeender beeender commented Jul 5, 2016

No description provided.

.between(AllTypes.FIELD_LONG, 4, 9)
.findFirstAsync();
assertFalse(allTypes.isLoaded());
looperThread.keepStrongReference.add(allTypes);
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

If this indeed fixes its we should have a ton of bugs in all other unit tests using the @RunTestInLooperThread?
allTypes do go out of scope when exiting the method though 😢

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I think I fixed most of them last time. So there should be quite a few left.

@stk1m1
Copy link
Copy Markdown
Contributor

stk1m1 commented Jul 5, 2016

👍 as soon as Mr. Jenkins says ok.

@zaki50
Copy link
Copy Markdown
Contributor

zaki50 commented Jul 5, 2016

👍

@beeender beeender merged commit 2066a9c into releases Jul 5, 2016
@beeender beeender deleted the mc/flaky-test branch July 5, 2016 11:39
@beeender beeender removed the S:Review label Jul 5, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 16, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants