| 185 | tester() : waiter(3), container_(*this, "reconnect_client") {} |
| 186 | |
| 187 | void on_container_start(proton::container &c) override { |
| 188 | // Server that fails upon connection |
| 189 | s1.reset(new server_connection_handler(c, 0, *this)); |
| 190 | // Server that fails on first message |
| 191 | s2.reset(new server_connection_handler(c, 1, *this)); |
| 192 | // server that doesn't fail in this test |
| 193 | s3.reset(new server_connection_handler(c, 100, *this)); |
| 194 | } |
| 195 | |
| 196 | // waiter::ready is called when all 3 listeners are ready. |
| 197 | void ready() override { |