Skip to content

Commit

Permalink
fixing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kessler-frost committed Oct 19, 2023
1 parent 40534cf commit a02425a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Added

- Documentation and test cases for database triggers.
- New Runner and executor API to bypass server-side memory when running tasks.

### Docs

- Added federated learning showcase code
- Updated tutorial for redispatching workflows with Streamlit
- Updated tutorial for redispatching workflows with Streamlit

### Tests

Expand Down Expand Up @@ -152,7 +153,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Fix for double locking file in configurations.
- Introduced new data access layer
- Introduced Shutil file transfer strategy for local file transfers
- New Runner and executor API to bypass server-side memory when running tasks.

### Docs

Expand Down
2 changes: 1 addition & 1 deletion covalent_dispatcher/_core/runner.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# limitations under the License.

"""
Defines the core functionality of the runner
Defines the core functionality of the legacy runner
"""

import asyncio
Expand Down
5 changes: 3 additions & 2 deletions covalent_dispatcher/_core/runner_ng.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Copyright 2021 Agnostiq Inc.
# Copyright 2023 Agnostiq Inc.
#
# This file is part of Covalent.
#
Expand All @@ -15,7 +15,7 @@
# limitations under the License.

"""
Defines the core functionality of the runner
Defines the core functionality of the new improved runner
"""

import asyncio
Expand Down Expand Up @@ -72,6 +72,7 @@ async def _submit_abstract_task_group(
) -> None:
# Task sequence of the form {"function_id": task_id, "args_ids":
# [node_ids], "kwargs_ids": {key: node_id}}

task_ids = [task["function_id"] for task in task_seq]
task_specs = []
task_group_metadata = {
Expand Down
3 changes: 2 additions & 1 deletion tests/covalent_tests/executor/base_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@
from covalent import DepsCall, TransportableObject
from covalent._results_manager import Result
from covalent._shared_files.exceptions import TaskCancelledError, TaskRuntimeError
from covalent.executor import BaseExecutor, wrapper_fn
from covalent.executor import BaseExecutor
from covalent.executor.base import AsyncBaseExecutor
from covalent.executor.utils.enums import Signals
from covalent.executor.utils.wrappers import wrapper_fn


class MockExecutor(BaseExecutor):
Expand Down

0 comments on commit a02425a

Please sign in to comment.