Skip to content

Commit ad4909a

Browse files
committed
it: fix log filtering in ConnectUsingValidLocalIpAddressButInvalidRemote
1 parent df53d7b commit ad4909a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

tests/src/integration/tests/test_control_connection.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -236,8 +236,9 @@ CASSANDRA_INTEGRATION_TEST_F(ControlConnectionTests,
236236
// Attempt to connect to the server using an valid local IP address
237237
// but invalid remote address. The specified remote is not routable
238238
// from the specified local.
239-
logger_.add_critera("Unable to establish a control connection to host "
240-
"1.1.1.1 because of the following error:");
239+
logger_.add_critera("Could not fetch metadata, error: "
240+
"Control connection pool error: The pool is broken; "
241+
"Last connection failed with: Invalid argument");
241242
Cluster cluster = Cluster::build().with_contact_points("1.1.1.1").with_local_address("127.0.0.1");
242243
try {
243244
cluster.connect();

0 commit comments

Comments
 (0)