[
https://issues.apache.org/jira/browse/TINKERPOP-1242?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
stephen mallette closed TINKERPOP-1242.
---------------------------------------
Resolution: Fixed
Fix Version/s: 3.2.1
3.1.3
There was only one test in {{ScriptEngineTest}} that seemed to be prone to
hanging. Tried to harden with:
https://github.com/apache/incubator-tinkerpop/commit/6148e3364c934f9d33d35ac616686915968d50bf
The behavior of the test changed every so slightly, but perhaps this will work
better on all platforms and will just be a win across the board. I still have
never seen this test fail in any scenario on my local ubuntu or the docker
environment so it's kinda hard to debug. If this error shows again, please try
to pinpoint the exact test. The logs above show WARN statements, but those can
be expected as part of a successful test if the test is meant to assert some
sort of failure. It would be great to know exactly which test ended up hanging
the suite.
> ScriptEngineTest randomly hangs indefinately.
> ---------------------------------------------
>
> Key: TINKERPOP-1242
> URL: https://issues.apache.org/jira/browse/TINKERPOP-1242
> Project: TinkerPop
> Issue Type: Bug
> Components: test-suite
> Affects Versions: 3.1.1-incubating
> Reporter: Marko A. Rodriguez
> Assignee: stephen mallette
> Fix For: 3.1.3, 3.2.1
>
>
> Randomly, the test suite just sits and sits at the section below...I will
> typically run integration tests over night and sometimes I wake up and its
> just sitting there. It use to happen very infrequently, but now it feels like
> it happens about 10% of the time.
> {code}
> [WARN] org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor - Timing
> out script - Thread.sleep(1000);10 - in thread [gremlin-executor-default-2]
> Tests run: 34, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 12.428 sec -
> in org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutorTest
> Running org.apache.tinkerpop.gremlin.groovy.engine.ScriptEnginesTest
> [WARN] org.apache.tinkerpop.gremlin.groovy.engine.GremlinExecutor - Timing
> out script - s = System.currentTimeMillis();
> while((System.currentTimeMillis() - s) < 10000) {} - in thread
> [gremlin-executor-default-2]
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)