File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -149,6 +149,7 @@ set(TEST_SRCS
149149 )
150150if (APMON_FOUND)
151151 list (APPEND TEST_SRCS test /testApMon.cxx)
152+ configure_file (test /ApMon.conf ApMon.conf COPYONLY )
152153endif ()
153154
154155O2_GENERATE_TESTS(
Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ namespace Test {
1414
1515BOOST_AUTO_TEST_CASE (simplySendMetric)
1616{
17- boost::filesystem::path configPath = boost::filesystem::canonical (" .. " );
18- std::string url = " apmon://" + configPath.string () + " /test/ ApMon.conf" ;
17+ boost::filesystem::path configPath = boost::filesystem::canonical (" ." );
18+ std::string url = " apmon://" + configPath.string () + " /ApMon.conf" ;
1919 auto parsed = http::ParseHttpUrl (url);
2020 std::cout << parsed.path << std::endl;
2121 o2::monitoring::backends::ApMonBackend apMonBackend (parsed.path );
You can’t perform that action at this time.
0 commit comments