From e03d85ee748b029270ebbb32e23d63b83604f32c Mon Sep 17 00:00:00 2001 From: Hao Jin Date: Mon, 9 Mar 2020 22:24:00 +0000 Subject: [PATCH 1/2] skip test_multi_worker_dataloader_release_pool --- tests/python/unittest/test_gluon_data.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/python/unittest/test_gluon_data.py b/tests/python/unittest/test_gluon_data.py index c3ae2de41722..27f9e9dd1046 100644 --- a/tests/python/unittest/test_gluon_data.py +++ b/tests/python/unittest/test_gluon_data.py @@ -269,6 +269,12 @@ def test_multi_worker_dataloader_release_pool(): if os.name == 'nt': print('Skip for windows since spawn on windows is too expensive.') return + + from sys import platform + if platform == 'darwin': + print('Skip for MacOS due to flaky failures') + return + for _ in range(10): A = np.random.rand(999, 2000) D = mx.gluon.data.DataLoader(A, batch_size=8, num_workers=8) From e518d8c9614e3a570437f8965f83b2fd18c6a24b Mon Sep 17 00:00:00 2001 From: Hao Jin Date: Tue, 17 Mar 2020 13:02:19 -0700 Subject: [PATCH 2/2] Update tests/python/unittest/test_gluon_data.py Co-Authored-By: Leonard Lausen --- tests/python/unittest/test_gluon_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python/unittest/test_gluon_data.py b/tests/python/unittest/test_gluon_data.py index 27f9e9dd1046..f78ce55c11cf 100644 --- a/tests/python/unittest/test_gluon_data.py +++ b/tests/python/unittest/test_gluon_data.py @@ -272,7 +272,7 @@ def test_multi_worker_dataloader_release_pool(): from sys import platform if platform == 'darwin': - print('Skip for MacOS due to flaky failures') + print('Skip for MacOS due to https://github.com/apache/incubator-mxnet/issues/17782') return for _ in range(10):