diff options
| author | Florian Gerlinghoff <gerlinghoff@live.de> | 2021-12-12 20:57:15 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-12 20:57:15 +0100 |
| commit | 6d9cc3e81593283f4443cd5f4c789ff61ed0c873 (patch) | |
| tree | 90d053d9139a6fc199f3412743649240847b8f54 /opendc-workflow | |
| parent | 4a83f7aca64b299d20d14f06d5d0ee3392921881 (diff) | |
fix(trace): Read dependencies from .gwf trace file (#50)
Tasks from a .gwf trace file did not have dependencies because this
property was not assigned after being read in the GwfTaskTableReader.
I removed the conversion from String to Long in parseParents because it
seems like other readers (the Parquet reader in particular) return
Strings as well, which is why they are converted to Long in line 75 of
TraceHelpers.kt.
Co-authored-by: Fabian Mastenbroek <mail.fabianm@gmail.com>
Diffstat (limited to 'opendc-workflow')
| -rw-r--r-- | opendc-workflow/opendc-workflow-service/src/test/kotlin/org/opendc/workflow/service/WorkflowServiceTest.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/opendc-workflow/opendc-workflow-service/src/test/kotlin/org/opendc/workflow/service/WorkflowServiceTest.kt b/opendc-workflow/opendc-workflow-service/src/test/kotlin/org/opendc/workflow/service/WorkflowServiceTest.kt index 066e9685..214d5135 100644 --- a/opendc-workflow/opendc-workflow-service/src/test/kotlin/org/opendc/workflow/service/WorkflowServiceTest.kt +++ b/opendc-workflow/opendc-workflow-service/src/test/kotlin/org/opendc/workflow/service/WorkflowServiceTest.kt @@ -104,7 +104,7 @@ internal class WorkflowServiceTest { { assertEquals(metrics.jobsSubmitted, metrics.jobsFinished, "Not all started jobs finished") }, { assertEquals(0, metrics.tasksActive, "Not all started tasks finished") }, { assertEquals(metrics.tasksSubmitted, metrics.tasksFinished, "Not all started tasks finished") }, - { assertEquals(33214236L, clock.millis()) { "Total duration incorrect" } } + { assertEquals(32649883L, clock.millis()) { "Total duration incorrect" } } ) } |
