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

Update tests to support fatal errors #40

Merged
merged 2 commits into from
Aug 29, 2023
Merged

Update tests to support fatal errors #40

merged 2 commits into from
Aug 29, 2023

Conversation

roehrich-hpe
Copy link
Contributor

DWS v0.0.11 has the concept of fatal errors. This updates the tests to use fatal errors, and to show how drivers should handle them.

This also addresses a number of lint errors, but does not attempt to remove all of them.

DWS v0.0.11 has the concept of fatal errors.  This updates the tests to use
fatal errors, and to show how drivers should handle them.

Signed-off-by: Dean Roehrich <[email protected]>
@github-actions
Copy link

github-actions bot commented Aug 23, 2023

Code Coverage

Package Line Rate Health
burst_buffer 90%
Summary 90% (323 / 360)

@@ -35,8 +36,8 @@ Feature: Data Workflow Services State Progression
/bin/hostname

When the job is run
And a Workflow is created for the job
Then the Workflow and job progress to the Proposal state
Then a Workflow has been created for the job

Choose a reason for hiding this comment

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

What's the difference between Then/And in this case?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As I was reading the list of statements, I thought it felt like an arbitrary thing, as far as when to switch from the "When" list to the "Then" list. And so I pulled "Then" up a little higher in the list because that's how I felt that day.

# wait=wait_fixed(2),
# stop=stop_after_attempt(30),
# reraise=True
#)

Choose a reason for hiding this comment

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

Remove this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

Signed-off-by: Dean Roehrich <[email protected]>
@roehrich-hpe roehrich-hpe merged commit 54da40a into DataWorkflowServices:main Aug 29, 2023
@roehrich-hpe roehrich-hpe deleted the fatal-err branch August 29, 2023 18:54
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.

3 participants