Skip to content

Commit bbafe71

Browse files
committed
fix clang tidy
1 parent 4052708 commit bbafe71

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

modules/core/perf/func_tests/test_task.hpp

+1-1
Original file line numberDiff line numberDiff 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
};

modules/core/task/func_tests/test_task.hpp

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,11 @@
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-
119
namespace ppc::test::task {
1210

1311
template <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
};

0 commit comments

Comments
 (0)