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

ArithmeticAddCalculation: Add the metadata.options.sleep input #5663

Merged
merged 1 commit into from
Sep 26, 2022

Conversation

sphuber
Copy link
Contributor

@sphuber sphuber commented Sep 25, 2022

Fixes #5660

When set, this will add a sleep in front of the main command. This is useful for testing where the calculation needs to run at least for a certain time in order for another component to get the chance to run. An example is to test CalcJob monitors. Without the sleep, the job would finish before they get the chance to analyze the output files.

When set, this will add a sleep in front of the main command. This is
useful for testing where the calculation needs to run at least for a
certain time in order for another component to get the chance to run. An
example is to test `CalcJob` monitors. Without the sleep, the job would
finish before they get the chance to analyze the output files.
@sphuber sphuber requested review from mbercx and unkcpz September 25, 2022 19:48
Copy link
Member

@unkcpz unkcpz left a comment

Choose a reason for hiding this comment

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

@sphuber Thanks! Looks good to me.

@sphuber sphuber merged commit d666332 into aiidateam:main Sep 26, 2022
@sphuber sphuber deleted the feature/5660/arithmetic-add-sleep branch September 26, 2022 12: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.

ArithmeticAddCalculation: Add option to perform a sleep before executing the sum
2 participants