File tree 2 files changed +3
-5
lines changed
2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ class FakePerfTask : public TestTask<T> {
43
43
explicit FakePerfTask (ppc::core::TaskDataPtr perf_task_data) : TestTask<T>(perf_task_data) {}
44
44
45
45
bool RunImpl () override {
46
- std::this_thread::sleep_for (std::chrono::milliseconds ( 21000 ));
46
+ std::this_thread::sleep_for (std::chrono::seconds ( 10 ));
47
47
return TestTask<T>::RunImpl ();
48
48
}
49
49
};
Original file line number Diff line number Diff line change 1
1
#pragma once
2
2
3
- #include < memory >
3
+ #include < chrono >
4
4
#include < thread>
5
5
#include < vector>
6
6
7
7
#include " core/task/include/task.hpp"
8
8
9
- using namespace std ::chrono_literals;
10
-
11
9
namespace ppc ::test::task {
12
10
13
11
template <class T >
@@ -43,7 +41,7 @@ class FakeSlowTask : public TestTask<T> {
43
41
explicit FakeSlowTask (ppc::core::TaskDataPtr perf_task_data) : TestTask<T>(perf_task_data) {}
44
42
45
43
bool RunImpl () override {
46
- std::this_thread::sleep_for (5000ms );
44
+ std::this_thread::sleep_for (std::chrono::seconds ( 10 ) );
47
45
return TestTask<T>::RunImpl ();
48
46
}
49
47
};
You can’t perform that action at this time.
0 commit comments