Skip to content

Commit

Permalink
remove start local server
Browse files Browse the repository at this point in the history
  • Loading branch information
cbellot000 committed Oct 21, 2022
1 parent bb0b7ec commit 2c300f3
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions tests/test_workflow.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,6 @@ def test_throws_error(allkindofcomplexity):
@pytest.mark.xfail(raises=dpf.core.errors.ServerTypeError)
@conftest.raises_for_servers_version_under('3.0')
def test_flush_workflows_session(allkindofcomplexity):
dpf.core.start_local_server()
model = dpf.core.Model(allkindofcomplexity)
wf = dpf.core.Workflow()
op = model.results.stress()
Expand Down Expand Up @@ -655,7 +654,6 @@ def test_flush_workflows_session(allkindofcomplexity):
@pytest.mark.skipif(platform.system() == "Linux" and platform.python_version().startswith("3.8"),
reason="Random SEGFAULT in the GitHub pipeline for 3.8 on Ubuntu")
def test_create_on_other_server_workflow(local_server):
dpf.core.start_local_server()
disp_op = op.result.displacement()
max_fc_op = op.min_max.min_max_fc(disp_op)
workflow = dpf.core.Workflow()
Expand All @@ -673,7 +671,6 @@ def test_create_on_other_server_workflow(local_server):
@pytest.mark.skipif(platform.system() == "Linux" and platform.python_version().startswith("3.8"),
reason="Random SEGFAULT in the GitHub pipeline for 3.8 on Ubuntu")
def test_create_on_other_server2_workflow(local_server):
dpf.core.start_local_server()
disp_op = op.result.displacement()
max_fc_op = op.min_max.min_max_fc(disp_op)
workflow = dpf.core.Workflow()
Expand All @@ -691,7 +688,6 @@ def test_create_on_other_server2_workflow(local_server):
@pytest.mark.skipif(platform.system() == "Linux" and platform.python_version().startswith("3.8"),
reason="Random SEGFAULT in the GitHub pipeline for 3.8 on Ubuntu")
def test_create_on_other_server_with_ip_workflow(local_server):
dpf.core.start_local_server()
disp_op = op.result.displacement()
max_fc_op = op.min_max.min_max_fc(disp_op)
workflow = dpf.core.Workflow()
Expand All @@ -711,7 +707,6 @@ def test_create_on_other_server_with_ip_workflow(local_server):
@pytest.mark.skipif(platform.system() == "Linux" and platform.python_version().startswith("3.8"),
reason="Random SEGFAULT in the GitHub pipeline for 3.8 on Ubuntu")
def test_create_on_other_server_with_address_workflow(local_server):
dpf.core.start_local_server()
disp_op = op.result.displacement()
max_fc_op = op.min_max.min_max_fc(disp_op)
workflow = dpf.core.Workflow()
Expand All @@ -728,7 +723,6 @@ def test_create_on_other_server_with_address_workflow(local_server):
@pytest.mark.xfail(raises=dpf.core.errors.ServerTypeError)
@conftest.raises_for_servers_version_under('3.0')
def test_create_on_other_server_with_address2_workflow(local_server):
dpf.core.start_local_server()
disp_op = op.result.displacement()
max_fc_op = op.min_max.min_max_fc(disp_op)
workflow = dpf.core.Workflow()
Expand All @@ -748,7 +742,6 @@ def test_create_on_other_server_with_address2_workflow(local_server):
@conftest.raises_for_servers_version_under('3.0')
def test_create_on_other_server_and_connect_workflow(
allkindofcomplexity, local_server):
dpf.core.start_local_server()
disp_op = op.result.displacement()
max_fc_op = op.min_max.min_max_fc(disp_op)
workflow = dpf.core.Workflow()
Expand Down

0 comments on commit 2c300f3

Please sign in to comment.