Skip to content

Commit 8809b5a

Browse files
chore: remove xfail markers from most flaky tests (#3899)
* fix: remove xfail markers from flaky tests * chore: adding changelog file 3899.fixed.md [dependabot-skip] * chore: adding changelog file 3899.added.md [dependabot-skip] * fix: remove skip marker from test_plot_incomplete_nodal_selection * fix: remove skip marker from test_plot_incomplete_element_selection --------- Co-authored-by: pyansys-ci-bot <[email protected]>
1 parent fab53e1 commit 8809b5a

File tree

6 files changed

+1
-7
lines changed

6 files changed

+1
-7
lines changed

doc/changelog.d/3899.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
chore: remove xfail markers from most flaky tests

tests/test_importing_geometries.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,6 @@ def test_readin_x_t(mapdl, cleared):
159159
clear_wkdir_from_cads(mapdl)
160160

161161

162-
@pytest.mark.xfail(True, reason="Command seems broken. See #2377")
163162
def test_readin_catiav5(mapdl, cleared):
164163
if ON_CI and mapdl.version <= 22.2 and not ON_UBUNTU:
165164
context = pytest.raises(

tests/test_mapdl.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2465,7 +2465,6 @@ def test_graphics_backend(mapdl, cleared):
24652465

24662466

24672467
@requires("local")
2468-
@pytest.mark.xfail(reason="Flaky test. See #2435")
24692468
def test_remove_temp_dir_on_exit(mapdl, cleared, tmpdir):
24702469
path = os.path.join(tempfile.gettempdir(), "ansys_" + random_string())
24712470
os.makedirs(path)
@@ -2486,7 +2485,6 @@ def test_remove_temp_dir_on_exit(mapdl, cleared, tmpdir):
24862485

24872486
@requires("local")
24882487
@requires("nostudent")
2489-
@pytest.mark.xfail(reason="Flaky test. See #2435")
24902488
def test_remove_temp_dir_on_exit_with_launch_mapdl(mapdl, cleared):
24912489

24922490
mapdl_2 = launch_mapdl(remove_temp_dir_on_exit=True, port=PORT1)

tests/test_pool.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,6 @@ def test_simple_map(self, pool):
177177

178178
@skip_if_ignore_pool
179179
@requires("local")
180-
@pytest.mark.xfail(reason="Flaky test. See #2435")
181180
def test_map_timeout(self, pool):
182181
pool_sz = len(pool)
183182

tests/test_post.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1241,7 +1241,6 @@ def test_plot_nodal_contact_friction_stress(mapdl, resume):
12411241

12421242
@staticmethod
12431243
@requires("ansys-tools-visualization_interface")
1244-
@pytest.mark.skipif(True, reason="Crash python until #3782 is fixed.")
12451244
def test_plot_incomplete_element_selection(mapdl, resume):
12461245
mapdl.esel("S", "ELEM", "", 1, mapdl.mesh.n_elem // 2)
12471246
assert mapdl.post_processing.plot_element_displacement() is None
@@ -1262,7 +1261,6 @@ def test_plot_incomplete_element_selection(mapdl, resume):
12621261

12631262
@staticmethod
12641263
@requires("ansys-tools-visualization_interface")
1265-
@pytest.mark.skipif(True, reason="Crash python until #3782 is fixed.")
12661264
def test_plot_incomplete_nodal_selection(mapdl, resume, verify_image_cache):
12671265
verify_image_cache.skip = True
12681266

tests/test_xpl.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,6 @@ def test_goto(xpl):
202202

203203
@requires("ansys-math-core")
204204
@pytest.mark.usefixtures("check_supports_extract")
205-
@pytest.mark.xfail(reason="Flaky test. See #2435")
206205
def test_extract(self, xpl):
207206
# expecting fixture to already have a non-result file open
208207
assert xpl._filename[-3:] != "rst"

0 commit comments

Comments
 (0)