linqs / psl

The PSL software from the University of Maryland and the University of California Santa Cruz
http://psl.linqs.org
Apache License 2.0
298 stars 100 forks source link

Flaky Test: MPEInferenceTest#testLogicalTautologyTrivial #263

Closed eriq-augustine closed 4 years ago

eriq-augustine commented 4 years ago

In psl-core, MPEInferenceTest#testLogicalTautologyTrivial is flaky. This test will rarely fail by returning 32 terms instead of 52.

eriq-augustine commented 4 years ago

I can only get this test to fail when it runs as part of a full mvn test. Even mvn test -Dtest=MPEInferenceTest will come up clean.

eriq-augustine commented 4 years ago

Travis runs clean, so there may be some Java version issue.

eriq-augustine commented 4 years ago

I simplified this test by not including the other rules, and it runs fine now. I think it was some test-driven race condition. I will close this for now and reopen if the test fails again.