Skip to content

Commit f0958f4

Browse files
Yi Wangfacebook-github-bot
authored andcommitted
[c10d] Add requires_gloo decorator to test_logging_init (#56682)
Summary: Pull Request resolved: #56682 The process group is created on a gloo backend. Context: #56598 (comment) ghstack-source-id: 127150910 Test Plan: buck test caffe2/test/distributed:c10d -- test_logging_init Reviewed By: pbelevich Differential Revision: D27936805 fbshipit-source-id: 932efc638f94bdf78ddbae291e3720a20e43f2af
1 parent 036becf commit f0958f4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test/distributed/test_c10d_gloo.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ def simple_multi_input_reduce_tests(rank, world_size):
168168

169169

170170
class RendezvousEnvTest(TestCase):
171+
@requires_gloo()
171172
@retry_on_connect_failures
172173
def test_logging_init(self):
173174
os.environ["WORLD_SIZE"] = "1"

0 commit comments

Comments
 (0)