[Ray SGD] Fix hotfix test (#11015)

This commit is contained in:
Amog Kamsetty authored and GitHub committed 2020-09-24 14:14:03 -07:00
1 parent 07bdf062b9
commit 3716fb1ca9
1 file changed
+2
+2
View File
@@ -111,6 +111,8 @@ def test_apply_all_workers(ray_start_2_cpus, num_workers, use_local):
results = trainer.apply_all_workers(fn)
assert all(x == 1 for x in results)
trainer.shutdown()
@pytest.mark.parametrize("num_workers", [1, 2] if dist.is_available() else [1])
@pytest.mark.parametrize("use_local", [True, False])