Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Abandoned
-
None
-
None
-
None
-
None
Description
retry-test and multi-retry-test fails flakily when run with
buck test --all --no-results-cache
or when run in a loop:
for i in `seq 1 10`; do buck test --no-results-cache core:retry-test || break 1; done
The problem seems to be within the JNI internals and usually happens at the create table method call. I was not able to inspect much, but the comments in our mini-cluster indicate that we may need to use global references instead of local ones. I suspect the problem happens when there is a GC run for the test since the failure happens usually after some time (but almost always in create table method).
ted_yu do you mind taking a look at this.