Commit 122e8fe1 authored by Davis King's avatar Davis King

updated tests

parent ccc6a8bb
...@@ -159,9 +159,9 @@ namespace ...@@ -159,9 +159,9 @@ namespace
{ {
int result; int result;
std::vector<network_address> hosts; std::vector<network_address> hosts;
hosts.push_back(network_address("127.0.0.1",12345)); hosts.push_back("127.0.0.1:12345");
hosts.push_back(network_address("127.0.0.1",12346)); hosts.push_back("localhost:12346");
hosts.push_back(network_address("127.0.0.1",12347)); hosts.push_back("127.0.0.1:12347");
bsp_connect(hosts, sum_array_driver, dlib::ref(v), dlib::ref(result)); bsp_connect(hosts, sum_array_driver, dlib::ref(v), dlib::ref(result));
dlog << LINFO << "result: "<< result; dlog << LINFO << "result: "<< result;
...@@ -203,9 +203,9 @@ namespace ...@@ -203,9 +203,9 @@ namespace
try try
{ {
std::vector<network_address> hosts; std::vector<network_address> hosts;
hosts.push_back(network_address("127.0.0.1",12345)); hosts.push_back("127.0.0.1:12345");
hosts.push_back(network_address("127.0.0.1",12346)); hosts.push_back("127.0.0.1:12346");
hosts.push_back(network_address("127.0.0.1",12347)); hosts.push_back("127.0.0.1:12347");
bsp_connect(hosts, test2_job<id>); bsp_connect(hosts, test2_job<id>);
} }
catch (std::exception& e) catch (std::exception& e)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment