MCPcopy Create free account
hub / github.com/apache/qpid-proton / run

Method run

cpp/src/reconnect_test.cpp:201–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199 }
200
201 void run() {
202 container_.run();
203 ASSERT_EQUAL(1, start_count);
204 ASSERT_EQUAL(3, open_count);
205 // Could be > 3, unpredictable number reconnects while listener comes up.
206 ASSERT(2 < transport_error_count);
207 // Last reconnect fails before opening links
208 ASSERT(1 < link_open_count);
209 // One final transport close, not an error
210 ASSERT_EQUAL(1, transport_close_count);
211 ASSERT_EQUAL(0, connection_error_count);
212 }
213
214 private:
215 std::unique_ptr<server_connection_handler> s1;

Callers 12

test_failover_simpleFunction · 0.45
runMethod · 0.45
test_empty_failoverFunction · 0.45
runMethod · 0.45
test_stop_reconnectFunction · 0.45
runMethod · 0.45
runMethod · 0.45
test_auth_fail_reconnectFunction · 0.45
runMethod · 0.45
runMethod · 0.45
runMethod · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected