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

Test max runtime #6619

Merged
merged 1 commit into from
Nov 21, 2023
Merged

Test max runtime #6619

merged 1 commit into from
Nov 21, 2023

Conversation

berland
Copy link
Contributor

@berland berland commented Nov 21, 2023

No description provided.

@@ -348,8 +351,6 @@ async def execute(

return EVTYPE_ENSEMBLE_STOPPED

def _add_realization(self, realization: QueueableRealization) -> None:
self._realizations.append(RealizationState(self, realization, retries=1))

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(this was duplicated)

@@ -298,7 +301,7 @@ async def execute(
try:
# await self._changes_to_publish.put(self._differ.snapshot()) # Reimplement me!, maybe send waiting states?
while True:
await asyncio.sleep(2)
await asyncio.sleep(1)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lower number makes tests go faster

@berland berland merged commit 8e94c28 into equinor:python_jobqueue Nov 21, 2023
16 of 42 checks passed
@berland berland deleted the test_max_runtime branch June 6, 2024 11:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants