From 8386adadfe762b92937ff2052b3fbac47be42e81 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Tue, 20 Oct 2015 09:17:07 +0100 Subject: Run UT Glacier on non-default port --- netfs/unittests/testGlacier.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/netfs/unittests/testGlacier.cpp b/netfs/unittests/testGlacier.cpp index 15d7e5e..8c9a79c 100644 --- a/netfs/unittests/testGlacier.cpp +++ b/netfs/unittests/testGlacier.cpp @@ -17,7 +17,7 @@ const std::string testEndpoint("tcp -h localhost -p 12013"); BOOST_AUTO_TEST_CASE ( withRouter ) { BOOST_REQUIRE_EQUAL(0, - system("/usr/bin/glacier2router --Glacier2.Client.Endpoints='tcp -p 4063' --Glacier2.PermissionsVerifier=Glacier2/NullPermissionsVerifier --daemon --pidfile /tmp/glacier.pid")); + system("/usr/bin/glacier2router --Glacier2.Client.Endpoints='tcp -p 14063' --Glacier2.PermissionsVerifier=Glacier2/NullPermissionsVerifier --daemon --pidfile /tmp/glacier.pid")); sleep(1); BOOST_SCOPE_EXIT(void) { @@ -31,7 +31,7 @@ BOOST_AUTO_TEST_CASE ( withRouter ) FuseMockHost fuse(testEndpoint, { (RootDir / "defaultFuse.xml:testvol").string(), (RootDir / "test").string(), - "--Ice.Default.Router=Glacier2/router:tcp -h localhost -p 4063" + "--Ice.Default.Router=Glacier2/router:tcp -h localhost -p 14063" }); struct statvfs s; -- cgit v1.2.3