File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed
Expand file tree Collapse file tree 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> {
4343 explicit FakePerfTask (ppc::core::TaskDataPtr perf_task_data) : TestTask<T>(perf_task_data) {}
4444
4545 bool RunImpl () override {
46- std::this_thread::sleep_for (std::chrono::milliseconds ( 21000 ));
46+ std::this_thread::sleep_for (std::chrono::seconds ( 10 ));
4747 return TestTask<T>::RunImpl ();
4848 }
4949};
Original file line number Diff line number Diff line change 11#pragma once
22
3- #include < memory >
3+ #include < chrono >
44#include < thread>
55#include < vector>
66
77#include " core/task/include/task.hpp"
88
9- using namespace std ::chrono_literals;
10-
119namespace ppc ::test::task {
1210
1311template <class T >
@@ -43,7 +41,7 @@ class FakeSlowTask : public TestTask<T> {
4341 explicit FakeSlowTask (ppc::core::TaskDataPtr perf_task_data) : TestTask<T>(perf_task_data) {}
4442
4543 bool RunImpl () override {
46- std::this_thread::sleep_for (5000ms );
44+ std::this_thread::sleep_for (std::chrono::seconds ( 10 ) );
4745 return TestTask<T>::RunImpl ();
4846 }
4947};
You can’t perform that action at this time.
0 commit comments