Skip to content

Commit

Permalink
Marking flaky tests as xfail (#2446)
Browse files Browse the repository at this point in the history
Marking as xfail flaky tests.
  • Loading branch information
germa89 authored Oct 26, 2023
1 parent f1a9895 commit 712ec32
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/test_mesh_grpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def test_local(mapdl):
assert mapdl._local == mapdl.mesh.local


@pytest.mark.xfail(strict=False, reason="Flaky test. See #2435")
def test_empty_mesh(mapdl, cleared):
assert mapdl.mesh.n_node == 0
assert mapdl.mesh.n_elem == 0
Expand Down
1 change: 1 addition & 0 deletions tests/test_pool.py
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ def test_invalid_exec():
)


@pytest.mark.xfail(strict=False, reason="Flaky test. See #2435")
@skip_if_not_local
def test_heal(pool):
pool_sz = len(pool)
Expand Down
1 change: 1 addition & 0 deletions tests/test_post.py
Original file line number Diff line number Diff line change
Expand Up @@ -733,6 +733,7 @@ def test_plot_incomplete_element_selection(mapdl, contact_solve):
assert mapdl.post_processing.plot_element_displacement() is None


@pytest.mark.xfail(strict=False, reason="The image regression is failing. See #2435")
def test_plot_incomplete_nodal_selection(mapdl, contact_solve):
mapdl.nsel("S", "NODE", "", 1, mapdl.mesh.n_node // 2)
assert mapdl.post_processing.plot_nodal_displacement() is None
Expand Down

0 comments on commit 712ec32

Please sign in to comment.