Skip to content

Commit 32efed5

Browse files
committed
Fix testCcdbApi
Snapshot only current test path to prevent test timeout.
1 parent f55aa06 commit 32efed5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

CCDB/test/testCcdbApi.cxx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ BOOST_AUTO_TEST_CASE(store_retrieve_TMemFile_templated_test, *utf::precondition(
176176
// a) create a local snapshot of the Test folder
177177
auto ph = boost::filesystem::unique_path();
178178
boost::filesystem::create_directories(ph);
179-
f.api.snapshot("Test", ph.string(), o2::ccdb::getCurrentTimestamp());
179+
f.api.snapshot(basePath, ph.string(), o2::ccdb::getCurrentTimestamp());
180180
std::cout << "Creating snapshot at " << ph.string() << "\n";
181181

182182
// b) init a new instance from the snapshot and query something from it
@@ -455,4 +455,4 @@ BOOST_AUTO_TEST_CASE(TestRetrieveHeaders, *utf::precondition(if_reachable()))
455455
cout << i++ << " : " << h.first << " -> " << h.second << endl;
456456
}
457457
BOOST_CHECK_EQUAL(headers.size(), 0);
458-
}
458+
}

0 commit comments

Comments
 (0)