Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Marking flaky tests as xfail #2446

Merged
merged 2 commits into from
Oct 26, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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