Skip to content

Commit

Permalink
starting without no-cluster
Browse files Browse the repository at this point in the history
  • Loading branch information
kessler-frost committed Aug 29, 2023
1 parent 28a43f7 commit 3898771
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ jobs:
if [ "${{ matrix.backend }}" = 'dask' ] ; then
covalent start
elif [ "${{ matrix.backend }}" = 'local' ] ; then
covalent start --no-cluster
covalent start -d
else
echo "Invalid backend specified in test matrix."
exit 1
Expand Down
5 changes: 2 additions & 3 deletions tests/functional_tests/_dispatcher_plugins/local_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@
#
# Relief from the License may be granted by purchasing a commercial license.

import pytest

import covalent as ct
from covalent._dispatcher_plugins.local import LocalDispatcher

dispatcher = LocalDispatcher()


@pytest.mark.debug
# @pytest.mark.debug
def test_local_dispatcher_dispatch():
"""Tests whether the local dispatcher can dispatch a workflow successfully."""

Expand All @@ -46,7 +45,7 @@ def workflow(x, y):
assert isinstance(dispatch_id, str)


@pytest.mark.debug
# @pytest.mark.debug
def test_local_dispatcher_dispatch_sync():
"""Tests whether the local dispatcher can synchronously dispatch a workflow successfully."""

Expand Down
2 changes: 1 addition & 1 deletion tests/functional_tests/basic_dispatcher_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def bad_workflow(name):
output = res.result

assert output == "aqbq"
print(res)
print("RESULT:", res)

try:
output = ct.dispatch(bad_workflow)("z")
Expand Down
6 changes: 2 additions & 4 deletions tests/functional_tests/choose_executor_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,10 @@
"""Functional tests for selecting executor"""


import pytest

import covalent as ct


@pytest.mark.debug
# @pytest.mark.debug
def test_using_executor_names():
"""Test that all loaded executors can be used in a simple electron."""

Expand All @@ -46,7 +44,7 @@ def workflow(y):
assert output.result == "input"


@pytest.mark.debug
# @pytest.mark.debug
def test_using_executor_classes():
"""Test creating executor objects and using them in a simple electron."""

Expand Down

0 comments on commit 3898771

Please sign in to comment.