Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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?
[AN-142] Adding cost centaur test #7685
Changes from 15 commits
e992402
a476d05
1a9db97
4c52851
e314da6
60bc2ba
3edb81c
5e6f36d
1714d0a
e44409f
cbd73b1
5dd597e
215ff98
83028d7
0cbcbab
2a83163
9aabb3d
79e256b
0c63680
0205711
a459a7a
a9263f0
b181c03
5ef83f3
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 126 in centaur/src/main/scala/centaur/api/CentaurCromwellClient.scala
Codecov / codecov/patch
centaur/src/main/scala/centaur/api/CentaurCromwellClient.scala#L126
Check warning on line 1067 in centaur/src/main/scala/centaur/test/Test.scala
Codecov / codecov/patch
centaur/src/main/scala/centaur/test/Test.scala#L1066-L1067
Check warning on line 1069 in centaur/src/main/scala/centaur/test/Test.scala
Codecov / codecov/patch
centaur/src/main/scala/centaur/test/Test.scala#L1069
Check warning on line 1079 in centaur/src/main/scala/centaur/test/Test.scala
Codecov / codecov/patch
centaur/src/main/scala/centaur/test/Test.scala#L1076-L1079
Check warning on line 1082 in centaur/src/main/scala/centaur/test/Test.scala
Codecov / codecov/patch
centaur/src/main/scala/centaur/test/Test.scala#L1082
Check warning on line 1087 in centaur/src/main/scala/centaur/test/Test.scala
Codecov / codecov/patch
centaur/src/main/scala/centaur/test/Test.scala#L1087
Check warning on line 1094 in centaur/src/main/scala/centaur/test/Test.scala
Codecov / codecov/patch
centaur/src/main/scala/centaur/test/Test.scala#L1091-L1094
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!
Check warning on line 1098 in centaur/src/main/scala/centaur/test/Test.scala
Codecov / codecov/patch
centaur/src/main/scala/centaur/test/Test.scala#L1098
Check warning on line 1102 in centaur/src/main/scala/centaur/test/Test.scala
Codecov / codecov/patch
centaur/src/main/scala/centaur/test/Test.scala#L1102
Check warning on line 1107 in centaur/src/main/scala/centaur/test/Test.scala
Codecov / codecov/patch
centaur/src/main/scala/centaur/test/Test.scala#L1104-L1107
Check warning on line 143 in centaur/src/main/scala/centaur/test/formulas/TestFormulas.scala
Codecov / codecov/patch
centaur/src/main/scala/centaur/test/formulas/TestFormulas.scala#L137-L143
Check warning on line 145 in centaur/src/main/scala/centaur/test/formulas/TestFormulas.scala
Codecov / codecov/patch
centaur/src/main/scala/centaur/test/formulas/TestFormulas.scala#L145
Check warning on line 151 in centaur/src/main/scala/centaur/test/formulas/TestFormulas.scala
Codecov / codecov/patch
centaur/src/main/scala/centaur/test/formulas/TestFormulas.scala#L147-L151
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)?
Check warning on line 367 in centaur/src/main/scala/centaur/test/formulas/TestFormulas.scala
Codecov / codecov/patch
centaur/src/main/scala/centaur/test/formulas/TestFormulas.scala#L363-L367
Check warning on line 28 in centaur/src/main/scala/centaur/test/standard/CentaurTestCase.scala
Codecov / codecov/patch
centaur/src/main/scala/centaur/test/standard/CentaurTestCase.scala#L28
Check warning on line 31 in centaur/src/main/scala/centaur/test/standard/CentaurTestCase.scala
Codecov / codecov/patch
centaur/src/main/scala/centaur/test/standard/CentaurTestCase.scala#L31
Check warning on line 62 in cromwellApiClient/src/main/scala/cromwell/api/CromwellClient.scala
Codecov / codecov/patch
cromwellApiClient/src/main/scala/cromwell/api/CromwellClient.scala#L62
Check warning on line 139 in cromwellApiClient/src/main/scala/cromwell/api/CromwellClient.scala
Codecov / codecov/patch
cromwellApiClient/src/main/scala/cromwell/api/CromwellClient.scala#L139
Check warning on line 6 in cromwellApiClient/src/main/scala/cromwell/api/model/WorkflowCost.scala
Codecov / codecov/patch
cromwellApiClient/src/main/scala/cromwell/api/model/WorkflowCost.scala#L6