pytorch/test/distributed/launcher
Aliaksandr Ivanou 37edb7483a [torchelastic][1/n] Fix caffe2.test.distributed.launcher.api_test flaky tests (#68624)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/68624

Fix `caffe2.test.distributed.launcher.api_test` flaky tests for opt-tsan mode.
The diff changes the default `mp.Process` invocation to use spawn context.  `mp.Process` will uses `fork` method that is not compatible with `*san`.

Test Plan: CI

Reviewed By: d4l3k

Differential Revision: D32550578

fbshipit-source-id: f4767987e8e10a6a2ece3f86e48278f2dbaebe7c
2021-11-19 15:23:30 -08:00
..
bin [skip ci] set more tests with owners for distributed and elastic (#67583) 2021-11-01 12:26:03 -07:00
__init__.py
api_test.py [torchelastic][1/n] Fix caffe2.test.distributed.launcher.api_test flaky tests (#68624) 2021-11-19 15:23:30 -08:00
launch_test.py [skip ci] set more tests with owners for distributed and elastic (#67583) 2021-11-01 12:26:03 -07:00
run_test.py [torchelastic] Remove stale test_get_default_executable test (#68609) 2021-11-18 17:20:36 -08:00