Page MenuHomePhabricator

Backport Core PR11067: [qa] TestNode: Add wait_until_stopped helper method
Closed, ResolvedPublic

Description

commit 31809d6f8514c4a8d5677e947e3f1ebb0db210b9
Merge: 21e2f2f79 faa8d9581
Author: MarcoFalke <falke.marco@gmail.com>
Date: Wed Sep 6 11:02:08 2017 -0700

Merge #11067: [qa] TestNode: Add wait_until_stopped helper method

faa8d9581 [qa] TestNode: Add wait_until_stopped helper method (MarcoFalke)

Pull request description:

  This adds a helper method `wait_until_stopped` to the `TestNode` class. This should prevent numerous `time.sleep()` over all places.

  Additionally, the timeout behavior is restored. (Was removed by the introduction of `TestNode`.)
  This should prevent tests from running indefinitely by accident.

Tree-SHA512: 7133fc64d55711869c4e372e9d30625c98f1237fb3578c24a26900d9319831f10eb95592d7b08e536fa706158dffb0abf9197f11c5d9ef605c880628e1a6533f