From ba3048933e2fb8639c73e84b78a93b95ccefa4d7 Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Wed, 17 Feb 2021 16:00:50 +0300 Subject: [PATCH 1/7] run Dask tests on aarch64 architecture --- tests/python_package_test/test_dask.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/python_package_test/test_dask.py b/tests/python_package_test/test_dask.py index 9ad370679832..a86fcf882470 100644 --- a/tests/python_package_test/test_dask.py +++ b/tests/python_package_test/test_dask.py @@ -6,7 +6,6 @@ import socket from itertools import groupby from os import getenv -from platform import machine from sys import platform import pytest @@ -44,8 +43,7 @@ pytestmark = [ pytest.mark.skipif(getenv('TASK', '') == 'mpi', reason='Fails to run with MPI interface'), - pytest.mark.skipif(getenv('TASK', '') == 'gpu', reason='Fails to run with GPU interface'), - pytest.mark.skipif(machine() != 'x86_64', reason='Fails to run with non-x86_64 architecture') + pytest.mark.skipif(getenv('TASK', '') == 'gpu', reason='Fails to run with GPU interface') ] From c43c98507f818994bb08b4f7d289ecad3b3449eb Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Sat, 15 May 2021 21:23:11 +0300 Subject: [PATCH 2/7] make random Dask test to fail --- tests/python_package_test/test_dask.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python_package_test/test_dask.py b/tests/python_package_test/test_dask.py index 76cfd27f087b..00a29aef7ef2 100644 --- a/tests/python_package_test/test_dask.py +++ b/tests/python_package_test/test_dask.py @@ -961,7 +961,7 @@ def test_warns_and_continues_on_unrecognized_tree_learner(cluster): with pytest.warns(UserWarning, match='Parameter tree_learner set to some-nonsense-value'): dask_regressor = dask_regressor.fit(X, y) - assert dask_regressor.fitted_ + assert not dask_regressor.fitted_ @pytest.mark.parametrize('tree_learner', ['data_parallel', 'voting_parallel']) From 027499ce2f9c54039e6a4ed5f801c2ba0f283727 Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Sun, 16 May 2021 20:47:52 +0300 Subject: [PATCH 3/7] Revert "make random Dask test to fail" This reverts commit c43c98507f818994bb08b4f7d289ecad3b3449eb. --- tests/python_package_test/test_dask.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/python_package_test/test_dask.py b/tests/python_package_test/test_dask.py index 00a29aef7ef2..76cfd27f087b 100644 --- a/tests/python_package_test/test_dask.py +++ b/tests/python_package_test/test_dask.py @@ -961,7 +961,7 @@ def test_warns_and_continues_on_unrecognized_tree_learner(cluster): with pytest.warns(UserWarning, match='Parameter tree_learner set to some-nonsense-value'): dask_regressor = dask_regressor.fit(X, y) - assert not dask_regressor.fitted_ + assert dask_regressor.fitted_ @pytest.mark.parametrize('tree_learner', ['data_parallel', 'voting_parallel']) From 367b129c893b024ad598e57af3e4d0e3b5c69e2e Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Tue, 18 May 2021 16:39:56 +0300 Subject: [PATCH 4/7] empty commit From 64f81b27423db188407f6ba9f80d867c76c8146e Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Tue, 18 May 2021 18:34:41 +0300 Subject: [PATCH 5/7] empty commit From ef694a0d59ce5732571cc10dafab49dc7e18b552 Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Tue, 18 May 2021 19:38:51 +0300 Subject: [PATCH 6/7] empty commit From 4aaaba1106d1403f889c0c67e15081fb0d2ca2cf Mon Sep 17 00:00:00 2001 From: Nikita Titov Date: Tue, 18 May 2021 21:39:15 +0300 Subject: [PATCH 7/7] empty commit