[ 
https://issues.apache.org/jira/browse/TINKERPOP-1548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15681873#comment-15681873
 ] 

ASF GitHub Bot commented on TINKERPOP-1548:
-------------------------------------------

GitHub user twilmes opened a pull request:

    https://github.com/apache/tinkerpop/pull/504

    TINKERPOP-1548: Traversals can complete before interrupted in 
TraversalInterruptionComputerTest

    I added a short sleep to prevent traversal from finishing before it can be 
interrupted during `TraversalInterruptionComputerTest`.
    
    This is a small update but I want to make sure this doesn't cause any build 
issues for folks.  I was getting this failure before the fix regularly.  After 
this fix, I've had 10 good runs without issue also `docker/build.sh -t -i -n` 
succeeded.
    
    VOTE: +1

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/apache/tinkerpop TINKERPOP-1548

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tinkerpop/pull/504.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #504
    
----
commit 1d9725418fa53e0c0baa5c9982a9aaa1dd31e0d7
Author: Ted Wilmes <[email protected]>
Date:   2016-11-20T14:02:47Z

    Added a short sleep to prevent traversal from finishing before it can be 
interrupted.

----


> Traversals can complete before interrupted in 
> TraversalInterruptionComputerTest
> -------------------------------------------------------------------------------
>
>                 Key: TINKERPOP-1548
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1548
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: test-suite
>    Affects Versions: 3.2.3
>            Reporter: Ted Wilmes
>            Assignee: Ted Wilmes
>
> TinkerGraphComputer {{TraversalInterruptionComputerTest}} fails for me fairly 
> consistently.  It appears that the test traversal is completing before 
> {{t.interrupt}} on occasion which causes the test to fail because the 
> {{TraversalInterruptedException}} is never thrown.  I can reproduce this 
> failure more consistently when running TinkerGraphComputer with 1 worker.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to