Skip to content

Commit

Permalink
ci: check effect of skipping erring tests
Browse files Browse the repository at this point in the history
  • Loading branch information
moe-ad committed Feb 5, 2025
1 parent 00dccf4 commit f9b04df
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions tests/entry/test_entry.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ def test_apply_context_remote(remote_config_server_type):

@pytest.mark.order(5)
@conftest.raises_for_servers_version_under("4.0")
@pytest.mark.skip(reason="affecting parallel runs in CI")
def test_runtime_client_no_server(remote_config_server_type):
dpf.server.shutdown_all_session_servers()
dpf.SERVER_CONFIGURATION = remote_config_server_type
Expand Down
2 changes: 2 additions & 0 deletions tests/test_data_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ def test_write_data_tree():


@conftest.raises_for_servers_version_under("4.0")
@pytest.mark.skip(reason="affecting parallel runs in CI")
def test_write_to_file_data_tree(tmpdir, server_type):
data_tree = dpf.DataTree(server=server_type)
with data_tree.to_fill() as to_fill:
Expand Down Expand Up @@ -231,6 +232,7 @@ def test_write_to_file_remote_data_tree(tmpdir, server_clayer_remote_process):


@conftest.raises_for_servers_version_under("4.0")
@pytest.mark.skip(reason="affecting parallel runs in CI")
def test_read_from_txt_data_tree(server_type):
data_tree = dpf.DataTree(server=server_type)
with data_tree.to_fill() as to_fill:
Expand Down
2 changes: 2 additions & 0 deletions tests/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@ def test_shutdown_all_session_servers(self, server_config):
shutdown_all_session_servers()
assert not has_local_server()

@pytest.mark.skip(reason="affecting parallel runs in CI")
def test_start_shutdown_start(self, server_config):
set_server_configuration(server_config)
# print(dpf.core.SERVER_CONFIGURATION)
Expand Down Expand Up @@ -320,6 +321,7 @@ def test_go_away_server():
reason="Not existing in version lower than 4.0",
)
@pytest.mark.skipif(running_docker, reason="Unstable on Docker")
@pytest.mark.skip(reason="affecting parallel runs in CI")
def test_start_after_shutting_down_server():
remote_server = start_local_server(
config=dpf.core.AvailableServerConfigs.GrpcServer, as_global=False
Expand Down

0 comments on commit f9b04df

Please sign in to comment.