(self, *, timeout=BITCOIND_PROC_WAIT_TIMEOUT, expect_error=False, **kwargs)
| 523 | return True |
| 524 | |
| 525 | def wait_until_stopped(self, *, timeout=BITCOIND_PROC_WAIT_TIMEOUT, expect_error=False, **kwargs): |
| 526 | if "expected_ret_code" not in kwargs: |
| 527 | kwargs["expected_ret_code"] = 1 if expect_error else 0 # Whether node shutdown return EXIT_FAILURE or EXIT_SUCCESS |
| 528 | self.wait_until(lambda: self.is_node_stopped(**kwargs), timeout=timeout) |
| 529 | |
| 530 | def kill_process(self): |
| 531 | self.process.kill() |
no test coverage detected