From: Pieter Noordhuis Date: Thu, 6 Dec 2018 01:07:26 +0000 (-0800) Subject: Retry test on address already in use error (#14815) X-Git-Tag: accepted/tizen/6.5/unified/20211028.231830~2443 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=c02b3e7cea7e70d132cab164a8e875a330a081e7;p=platform%2Fupstream%2Fpytorch.git 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 --- 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"):