File tree Expand file tree Collapse file tree
cuda_core/tests/memory_ipc Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727
2828
2929# these tests spawn new processes and files which fails for very many threads;
30- # child processes and IPC fixtures are shared across workers (#2784); run single-threaded
31- pytestmark = pytest .mark .parallel_threads_limit (1 )
30+ # child processes and IPC fixtures are shared across workers (#2784); cap at two threads
31+ pytestmark = pytest .mark .parallel_threads_limit (2 )
3232
3333
3434def test_outer_timeout_marker_is_applied (request ):
Original file line number Diff line number Diff line change 1717
1818
1919# these tests spawn new processes and files which fails for very many threads;
20- # child processes and IPC fixtures are shared across workers (#2784); run single-threaded
21- pytestmark = pytest .mark .parallel_threads_limit (1 )
20+ # child processes and IPC fixtures are shared across workers (#2784); cap at two threads
21+ pytestmark = pytest .mark .parallel_threads_limit (2 )
2222
2323
2424@pytest .mark .skipif (Device ().compute_capability .major < 7 , reason = "__nanosleep is only available starting Volta (sm70)" )
Original file line number Diff line number Diff line change 2929THREADS = 4
3030
3131# these tests spawn new processes and files which fails for very many threads;
32- # child processes and IPC fixtures are shared across workers (#2784); run single-threaded
33- pytestmark = pytest .mark .parallel_threads_limit (1 )
32+ # child processes and IPC fixtures are shared across workers (#2784); cap at two threads
33+ pytestmark = pytest .mark .parallel_threads_limit (2 )
3434
3535
3636def child_main (queue ):
Original file line number Diff line number Diff line change 2424ENABLE_LOGGING = False # Set True for test debugging and development
2525
2626# these tests spawn new processes and files which fails for very many threads;
27- # child processes and IPC fixtures are shared across workers (#2784); run single-threaded
28- pytestmark = pytest .mark .parallel_threads_limit (1 )
27+ # child processes and IPC fixtures are shared across workers (#2784); cap at two threads
28+ pytestmark = pytest .mark .parallel_threads_limit (2 )
2929
3030
3131def child_main (log , queue ):
Original file line number Diff line number Diff line change 1515NTASKS = 2
1616
1717# these tests spawn new processes and files which fails for very many threads;
18- # child processes and IPC fixtures are shared across workers (#2784); run single-threaded
19- pytestmark = pytest .mark .parallel_threads_limit (1 )
18+ # child processes and IPC fixtures are shared across workers (#2784); cap at two threads
19+ pytestmark = pytest .mark .parallel_threads_limit (2 )
2020
2121
2222class TestIpcMempool :
Original file line number Diff line number Diff line change 1515NBYTES = 64
1616
1717# these tests spawn new processes and files which fails for very many threads;
18- # child processes and IPC fixtures are shared across workers (#2784); run single-threaded
19- pytestmark = pytest .mark .parallel_threads_limit (1 )
18+ # child processes and IPC fixtures are shared across workers (#2784); cap at two threads
19+ pytestmark = pytest .mark .parallel_threads_limit (2 )
2020
2121
2222class TestPeerAccessNotPreservedOnImport :
Original file line number Diff line number Diff line change 1717NTASKS = 7
1818
1919# these tests spawn new processes and files which fails for very many threads;
20- # child processes and IPC fixtures are shared across workers (#2784); run single-threaded
21- pytestmark = pytest .mark .parallel_threads_limit (1 )
20+ # child processes and IPC fixtures are shared across workers (#2784); cap at two threads
21+ pytestmark = pytest .mark .parallel_threads_limit (2 )
2222
2323
2424class TestIpcSendBuffers :
Original file line number Diff line number Diff line change 1515NBYTES = 64
1616
1717# these tests spawn new processes and files which fails for very many threads;
18- # child processes and IPC fixtures are shared across workers (#2784); run single-threaded
19- pytestmark = pytest .mark .parallel_threads_limit (1 )
18+ # child processes and IPC fixtures are shared across workers (#2784); cap at two threads
19+ pytestmark = pytest .mark .parallel_threads_limit (2 )
2020
2121
2222class TestObjectSerializationDirect :
Original file line number Diff line number Diff line change 1717NTASKS = 20
1818
1919# these tests spawn new processes and files which fails for very many threads;
20- # child processes and IPC fixtures are shared across workers (#2784); run single-threaded
21- pytestmark = pytest .mark .parallel_threads_limit (1 )
20+ # child processes and IPC fixtures are shared across workers (#2784); cap at two threads
21+ pytestmark = pytest .mark .parallel_threads_limit (2 )
2222
2323
2424class TestIpcWorkerPool :
You can’t perform that action at this time.
0 commit comments