Skip to content

Commit b81d62f

Browse files
committed
skip
1 parent b9795fb commit b81d62f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

modules/task/tests/task_tests.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,9 @@ TEST(TaskTests, CheckInt32t) {
9090
}
9191

9292
TEST(TaskTests, CheckInt32tSlow) {
93+
#ifdef __APPLE__
94+
GTEST_SKIP() << "Skipped on macOS due to time fluctuations.";
95+
#endif
9396
std::vector<int32_t> in(20, 1);
9497
ppc::test::FakeSlowTask<std::vector<int32_t>, int32_t> test_task(in);
9598
ASSERT_EQ(test_task.Validation(), true);
@@ -278,6 +281,9 @@ TEST(TaskTest, TaskDestructorThrowsIfEmpty) {
278281
}
279282

280283
TEST(TaskTest, InternalTimeTestThrowsIfTimeoutExceeded) {
284+
#ifdef __APPLE__
285+
GTEST_SKIP() << "Skipped on macOS due to time fluctuations.";
286+
#endif
281287
struct SlowTask : Task<std::vector<int32_t>, int32_t> {
282288
explicit SlowTask(const std::vector<int32_t> &in) {
283289
this->GetInput() = in;

0 commit comments

Comments
 (0)