File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 7777 run : scripts/run_tests.py --running-type="processes" --counts 1 2 3 4
7878 env :
7979 PPC_NUM_THREADS : 1
80+ PPC_TASK_MAX_TIME : 30
8081 - name : Run tests (threads)
8182 run : scripts/run_tests.py --running-type="threads" --counts 1 2 3 4
8283 env :
Original file line number Diff line number Diff line change @@ -90,6 +90,9 @@ TEST(TaskTests, CheckInt32t) {
9090}
9191
9292TEST (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
280283TEST (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;
You can’t perform that action at this time.
0 commit comments