@@ -109,7 +109,7 @@ CASSANDRA_INTEGRATION_TEST_F(AuthenticationTests, InvalidEmptyCredentials) {
109
109
CHECK_FAILURE;
110
110
111
111
// Iterate over all known/supported protocol versions
112
- logger_.add_critera (" Key may not be empty " );
112
+ logger_.add_critera (" Password must not be null " );
113
113
for (int i = CASS_LOWEST_SUPPORTED_PROTOCOL_VERSION; i <= CASS_HIGHEST_SUPPORTED_PROTOCOL_VERSION;
114
114
++i) {
115
115
/*
@@ -118,7 +118,7 @@ CASSANDRA_INTEGRATION_TEST_F(AuthenticationTests, InvalidEmptyCredentials) {
118
118
* a simple form. This test serves to characterize what is there presently.
119
119
*/
120
120
Session session = connect_using_credentials (i, " " , " " );
121
- ASSERT_EQ (session.connect_error_code (), CASS_ERROR_LIB_NO_HOSTS_AVAILABLE );
121
+ ASSERT_EQ (session.connect_error_code (), CASS_ERROR_SERVER_BAD_CREDENTIALS );
122
122
ASSERT_EQ (logger_.count (), 2u );
123
123
logger_.reset_count ();
124
124
}
@@ -140,7 +140,7 @@ CASSANDRA_INTEGRATION_TEST_F(AuthenticationTests, InvalidNullUsernameCredentials
140
140
CHECK_FAILURE;
141
141
142
142
// Iterate over all known/supported protocol versions
143
- logger_.add_critera (" Key may not be empty " );
143
+ logger_.add_critera (" Authentication ID must not be null " );
144
144
for (int i = CASS_LOWEST_SUPPORTED_PROTOCOL_VERSION; i <= CASS_HIGHEST_SUPPORTED_PROTOCOL_VERSION;
145
145
++i) {
146
146
/*
@@ -149,7 +149,7 @@ CASSANDRA_INTEGRATION_TEST_F(AuthenticationTests, InvalidNullUsernameCredentials
149
149
* a simple form. This test serves to characterize what is there presently.
150
150
*/
151
151
Session session = connect_using_credentials (i, NULL , " pass" );
152
- ASSERT_EQ (session.connect_error_code (), CASS_ERROR_LIB_NO_HOSTS_AVAILABLE );
152
+ ASSERT_EQ (session.connect_error_code (), CASS_ERROR_SERVER_BAD_CREDENTIALS );
153
153
ASSERT_EQ (logger_.count (), 2u );
154
154
logger_.reset_count ();
155
155
}
@@ -171,7 +171,7 @@ CASSANDRA_INTEGRATION_TEST_F(AuthenticationTests, InvalidNullPasswordCredentials
171
171
CHECK_FAILURE;
172
172
173
173
// Iterate over all known/supported protocol versions
174
- logger_.add_critera (" and/or password are incorrect " );
174
+ logger_.add_critera (" Password must not be null " );
175
175
for (int i = CASS_LOWEST_SUPPORTED_PROTOCOL_VERSION; i <= CASS_HIGHEST_SUPPORTED_PROTOCOL_VERSION;
176
176
++i) {
177
177
/*
0 commit comments