Skip to content

Commit 541c7b0

Browse files
authored
Declare some tests as not parallel safe (#1398)
* Declare some testst as not parallel safe * Mark additional test
1 parent ae7e6ac commit 541c7b0

2 files changed

Lines changed: 11 additions & 2 deletions

File tree

Src/IronPythonTest/Cases/CPythonCasesManifest.ini

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,9 @@ IsolationLevel=PROCESS # https://github.com/IronLanguages/ironpython3/issues/489
423423
[CPython.test_file_eintr]
424424
RunCondition=NOT $(IS_POSIX) # TODO: debug
425425

426+
[CPython.test_filecmp]
427+
NotParallelSafe=true # Creates/deletes a directory with a static name 'dir' in $TEMP
428+
426429
[CPython.test_fileio]
427430
Ignore=true
428431

@@ -476,8 +479,7 @@ Ignore=true
476479
Reason=ImportError: No module named '_testcapi'
477480

478481
[CPython.test_gettext]
479-
NotParallelSafe=true
480-
Reason=Creates/deletes a directory with static name 'xx'
482+
NotParallelSafe=true # Creates/deletes a directory with static name 'xx'
481483

482484
[CPython.test_glob]
483485
RunCondition=NOT $(IS_POSIX) # TODO: figure out
@@ -509,6 +511,8 @@ Reason=Blocking
509511

510512
[CPython.test_imp]
511513
RunCondition=NOT $(IS_LINUX) # TODO: debug
514+
NotParallelSafe=true # Creates/deletes a module with a static name 'test_imp_helper'
515+
512516

513517
[CPython.test_import]
514518
Ignore=true
@@ -680,6 +684,7 @@ Ignore=true
680684

681685
[CPython.test_pep277]
682686
RunCondition=NOT $(IS_POSIX) # TODO: debug
687+
NotParallelSafe=true # Renames files to/from a static name 'tmp'
683688

684689
[CPython.test_pep380] # IronPython.test_pep380_stdlib
685690
Ignore=true

Src/IronPythonTest/Cases/IronPythonCasesManifest.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ IsolationLevel=PROCESS # required for help to use pydoc
3737

3838
[IronPython.test_imp]
3939
IsolationLevel=PROCESS # expects certain modules not to be loaded
40+
NotParallelSafe=true # Creates/deletes temporary modules and directories with fixed names
4041

4142
[IronPython.test_importpkg]
4243
Ignore=true
@@ -152,6 +153,9 @@ NotParallelSafe=true # test_data.gz
152153
RunCondition=NOT $(IS_POSIX)
153154
NotParallelSafe=true # Uses fixed file, directory, and environment variable names
154155

156+
[IronPython.modules.io_related.test_cPickle]
157+
NotParallelSafe=true # Uses a temporary module with a fixed name
158+
155159
[IronPython.modules.system_related.test_sys_getframe]
156160
IsolationLevel=PROCESS # https://github.com/IronLanguages/ironpython3/issues/489
157161
FullFrames=true

0 commit comments

Comments
 (0)