Skip to content

Commit df53d7b

Browse files
committed
it: adjust log filtering in ConnectUsingUnbindableLocalIpAddress test
1 parent 5c9272f commit df53d7b

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/src/integration/tests/test_control_connection.cpp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,9 @@ CASSANDRA_INTEGRATION_TEST_F(ControlConnectionTests, ConnectUsingUnbindableLocal
204204
CHECK_FAILURE;
205205

206206
// Attempt to connect to the server using an unbindable local IP address
207-
logger_.add_critera("Unable to bind local address: address not available");
207+
logger_.add_critera("Could not fetch metadata, error: "
208+
"Control connection pool error: The pool is broken; "
209+
"Last connection failed with: Cannot assign requested address");
208210
Cluster cluster = default_cluster().with_local_address("1.1.1.1");
209211
try {
210212
cluster.connect();

0 commit comments

Comments
 (0)