git.net

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[jira] [Created] (FLINK-9674) Remove 65s sleep in QueryableState E2E test


Chesnay Schepler created FLINK-9674:
---------------------------------------

             Summary: Remove 65s sleep in QueryableState E2E test
                 Key: FLINK-9674
                 URL: https://issues.apache.org/jira/browse/FLINK-9674
             Project: Flink
          Issue Type: Improvement
          Components: Queryable State, Tests
    Affects Versions: 1.5.0, 1.6.0
            Reporter: Chesnay Schepler


The {{test_queryable_state_restart_tm.sh}} kills a taskmanager, waits for the loss to be noticed, starts a new tm and waits for the job to continue.
{code}
kill_random_taskmanager

[...]

sleep 65 # this is a little longer than the heartbeat timeout so that the TM is gone

start_and_wait_for_tm
{code}

Instead of waiting for a fixed amount of time that is tied to some config value we should wait for a specific event, like the job being canceled.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)



( ! ) Warning: include(msgfooter.php): failed to open stream: No such file or directory in /var/www/git/apache-flink-development/msg07852.html on line 100
Call Stack
#TimeMemoryFunctionLocation
10.0007358376{main}( ).../msg07852.html:0

( ! ) Warning: include(): Failed opening 'msgfooter.php' for inclusion (include_path='.:/var/www/git') in /var/www/git/apache-flink-development/msg07852.html on line 100
Call Stack
#TimeMemoryFunctionLocation
10.0007358376{main}( ).../msg07852.html:0