Skip to content

Commit

Permalink
Fixed control connection no rpc_address int. test
Browse files Browse the repository at this point in the history
  • Loading branch information
mpenick committed Sep 7, 2014
1 parent 91c45e8 commit f577016
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/integration_tests/src/control_connection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ BOOST_AUTO_TEST_CASE(test_node_discovery_no_local_rows)

BOOST_AUTO_TEST_CASE(test_node_discovery_no_rpc_addresss)
{
boost::scoped_ptr<test_utils::LogData> log_data(new test_utils::LogData("No rpc_address for host 127.0.0.2 in system.peers on 127.0.0.1. Ignoring this entry."));
boost::scoped_ptr<test_utils::LogData> log_data(new test_utils::LogData("No rpc_address for host 127.0.0.3 in system.peers on 127.0.0.1. Ignoring this entry."));

{
test_utils::CassClusterPtr cluster(cass_cluster_new());
Expand All @@ -289,7 +289,7 @@ BOOST_AUTO_TEST_CASE(test_node_discovery_no_rpc_addresss)
test_utils::CassSessionPtr session(test_utils::create_session(cluster.get()));

// This should only contain 2 address because one peer is ignored
check_for_live_hosts(session, build_ip_range(conf.ip_prefix(), 2, 3));
check_for_live_hosts(session, build_ip_range(conf.ip_prefix(), 1, 2));
}

BOOST_CHECK(log_data->message_count > 0);
Expand Down

0 comments on commit f577016

Please sign in to comment.