Skip to content
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

DistSyncTxL1FuncTest.testGetBlockingAnotherGetCacheEntry random failures #5713

Merged

Conversation

danberindei
Copy link
Member

https://issues.jboss.org/browse/ISPN-8742

getAsync() doesn't always run interceptor callbacks on a separate thread.
The remote get can finish before the calling thread calls thenAccept(),
especially when the test suite is limited to a single CPU.

The fix is trivial, figuring how the next test was affected took me much longer :)

getAsync() doesn't always run interceptor callbacks on a separate thread.
The remote get can finish before the calling thread calls thenAccept(),
especially when the test suite is limited to a single CPU.
@@ -57,7 +57,7 @@
boolean isSatisfied() throws Exception;
}

protected static final Log log = LogFactory.getLog(MethodHandles.lookup().lookupClass());
protected final Log log = LogFactory.getLog(getClass());
Copy link
Member

Choose a reason for hiding this comment

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

Hrmm is this an issue with the other JIRA that changed this @tristantarrant ?

Copy link
Member Author

Choose a reason for hiding this comment

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

@wburns The problem is that logs of tests use the inherited field, and their messages end up logged with the AbstractInfinispanTest category. I initially wanted to make it private static, but there were too many tests using it and I wouldn't have been able to sneak it into this PR that way :)

@ryanemerson ryanemerson merged commit 81557e9 into infinispan:master Feb 1, 2018
@danberindei danberindei deleted the ISPN-8742_DistSyncTxL1FuncTest branch February 1, 2018 13:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants