-
Notifications
You must be signed in to change notification settings - Fork 359
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
[AN-142] Adding cost centaur test #7685
base: develop
Are you sure you want to change the base?
Conversation
} yield () | ||
} | ||
|
||
def validateNoCost(submittedWorkflow: SubmittedWorkflow): Test[Unit] = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
maybe overkill, but I also added a test to verify that the cost is 0 when a workflow is call-cached
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it!
@@ -0,0 +1,17 @@ | |||
In order to run a Cromwell instance locally, there are the some prerequisites: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just a start from what I can remember, feel free to add/edit!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is really great, very nice job 🎉 Left some minor feedback and thoughts but the missing newlines and the reference.conf
change are the only real problems.
centaur/src/main/resources/standardTestCases/cacheBetweenWF/cacheBetweenWFNoCost.wdl
Outdated
Show resolved
Hide resolved
centaur/src/main/resources/standardTestCases/recursive_imports/recursive_imports_cost.options
Outdated
Show resolved
Hide resolved
} yield () | ||
} | ||
|
||
def validateNoCost(submittedWorkflow: SubmittedWorkflow): Test[Unit] = |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I like it!
@@ -337,6 +357,15 @@ object TestFormulas extends StrictLogging { | |||
case _ => Test.invalidTestDefinition("Configuration not supported by PapiUpgradeTest", workflowDefinition) | |||
} | |||
|
|||
def runSuccessfulWorkflowAndVerifyCost( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did you consider updating the existing test format to optionally check cost (if it's provided in the test config)?
Approving assuming we can get the tests passing :) |
Description
Release Notes Confirmation
CHANGELOG.md
CHANGELOG.md
in this PRCHANGELOG.md
because it doesn't impact community usersTerra Release Notes