-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
rabbitmq_peer_discovery_etcd: Wait for etcd start in system_SUITE
[Why] It was possible that testcases were executed before the etcd daemon was ready, leading to test failures. [How] There was already a santy check to verify that the etcd daemon was working correctly, but it was itself a testcase. This patch moves this code to the etcd start code to wait for it to be ready. This replaces the previous workaround of waiting for 2 seconds. While here, log anything printed to stdout/stderr by etcd after it exited. Fixes #12981.
- Loading branch information
Showing
1 changed file
with
50 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters