Commit 2e88cd0
committed
test(cluster): add startup wait to proxy_write test
The test panics with connection refused
because it opens a database connection to replica0 before it is
fully started. Add an HTTP-poll loop (matching the pattern used in
replication.rs and other cluster tests) to wait for the replica's
user API endpoint to become responsive before proceeding.1 parent 42d2c2e commit 2e88cd0
1 file changed
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
96 | 102 | | |
97 | 103 | | |
98 | 104 | | |
| |||
0 commit comments