From c02b3e7cea7e70d132cab164a8e875a330a081e7 Mon Sep 17 00:00:00 2001 From: Pieter Noordhuis Date: Wed, 5 Dec 2018 17:07:26 -0800 Subject: [PATCH] Retry test on address already in use error (#14815) Summary: Thanks nairbv for the suggestion. Also see #14589. Fixes #14703. Pull Request resolved: https://github.com/pytorch/pytorch/pull/14815 Differential Revision: D13351913 Pulled By: pietern fbshipit-source-id: d11a4152505d0ce15592b13e417bb80551476a61 --- test/test_c10d.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_c10d.py b/test/test_c10d.py index 19479ce..a4b4fd7 100644 --- a/test/test_c10d.py +++ b/test/test_c10d.py @@ -247,6 +247,7 @@ class RendezvousTest(TestCase): class RendezvousEnvTest(TestCase): + @retry_on_address_already_in_use_error def test_common_errors(self): # TODO remove this hack if not hasattr(c10d, "ProcessGroupNCCL"): -- 2.7.4