Skip to content

Commit 80ba915

Browse files
committed
Decrease chances of problems when running tests in parallel
1 parent f86d79d commit 80ba915

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/TestUtil.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ namespace fbcpp::test
7676
const fs::path prefix = fs::temp_directory_path();
7777

7878
auto now = std::chrono::system_clock::now();
79-
auto time = std::chrono::duration_cast<std::chrono::milliseconds>(now.time_since_epoch()).count();
79+
auto time = std::chrono::duration_cast<std::chrono::nanoseconds>(now.time_since_epoch()).count();
8080

8181
std::ostringstream oss;
8282
oss << "fbcpp-test-" << time;

0 commit comments

Comments
 (0)