Skip to content

Commit 7ec952d

Browse files
author
Michael Fero
committed
test: Fixing comments and correcting values
1 parent a0f7023 commit 7ec952d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

cpp-driver/gtests/src/integration/tests/test_cluster.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ TEST(ClusterTest, SetLoadBalanceDcAwareNullLocalDc) {
3939
TEST(ClusterTest, ExponentialReconnectionPolicyBadParameters) {
4040
test::driver::Cluster cluster;
4141

42-
// Base delay cannot be zero
42+
// Base delay must be greater than 1
4343
EXPECT_EQ(CASS_ERROR_LIB_BAD_PARAMS, cass_cluster_set_exponential_reconnect(cluster.get(), 0, 1));
44-
// Max delay cannot be zero
44+
// Max delay must be greater than 1
4545
EXPECT_EQ(CASS_ERROR_LIB_BAD_PARAMS, cass_cluster_set_exponential_reconnect(cluster.get(), 1, 0));
4646
// Base delay cannot be greater than max delay
47-
EXPECT_EQ(CASS_ERROR_LIB_BAD_PARAMS, cass_cluster_set_exponential_reconnect(cluster.get(), 2, 1));
47+
EXPECT_EQ(CASS_ERROR_LIB_BAD_PARAMS, cass_cluster_set_exponential_reconnect(cluster.get(), 3, 2));
4848
}

0 commit comments

Comments
 (0)