We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de6e25e commit 76d2e34Copy full SHA for 76d2e34
modules/core/perf/func_tests/test_task.hpp
@@ -1,13 +1,12 @@
1
#pragma once
2
3
+#include <chrono>
4
#include <memory>
5
#include <thread>
6
#include <vector>
7
8
#include "core/task/include/task.hpp"
9
-using namespace std::chrono_literals;
10
-
11
namespace ppc::test::perf {
12
13
template <class T>
@@ -44,7 +43,7 @@ class FakePerfTask : public TestTask<T> {
44
43
explicit FakePerfTask(ppc::core::TaskDataPtr perf_task_data) : TestTask<T>(perf_task_data) {}
45
46
bool RunImpl() override {
47
- std::this_thread::sleep_for(20000ms);
+ std::this_thread::sleep_for(std::chrono::milliseconds(21000));
48
return TestTask<T>::RunImpl();
49
}
50
};
0 commit comments