From 8d9c2e25eccd3c178ccc34aca64bf873582e384a Mon Sep 17 00:00:00 2001 From: Miguel Covarrubias Date: Fri, 18 Oct 2024 11:20:20 -0400 Subject: [PATCH] wip --- .../gcpbatch_google_labels_subworkflows.test | 16 ++++++++++++++++ .../google_labels/gcpbatch_wrapper.wdl | 10 ++++++++++ .../google_labels_subworkflows.test | 3 +-- 3 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 centaur/src/main/resources/standardTestCases/gcpbatch_google_labels_subworkflows.test create mode 100644 centaur/src/main/resources/standardTestCases/google_labels/gcpbatch_wrapper.wdl diff --git a/centaur/src/main/resources/standardTestCases/gcpbatch_google_labels_subworkflows.test b/centaur/src/main/resources/standardTestCases/gcpbatch_google_labels_subworkflows.test new file mode 100644 index 00000000000..229cdf00b4c --- /dev/null +++ b/centaur/src/main/resources/standardTestCases/gcpbatch_google_labels_subworkflows.test @@ -0,0 +1,16 @@ +name: gcpbatch_google_labels_sub +testFormat: workflowsuccess +backends: [GCPBATCH] + +files { + workflow: google_labels/gcpbatch_wrapper.wdl + options: google_labels/good_options.json + imports: [ + google_labels/google_labels.wdl + ] +} + +metadata { + workflowName: google_labels_wrapper + status: Succeeded +} diff --git a/centaur/src/main/resources/standardTestCases/google_labels/gcpbatch_wrapper.wdl b/centaur/src/main/resources/standardTestCases/google_labels/gcpbatch_wrapper.wdl new file mode 100644 index 00000000000..c3e9ab4f468 --- /dev/null +++ b/centaur/src/main/resources/standardTestCases/google_labels/gcpbatch_wrapper.wdl @@ -0,0 +1,10 @@ +version 1.0 + +import "google_labels.wdl" + +workflow google_labels_wrapper { + call google_labels.google_labels { input: + expected_kvps = [ ("cromwell-sub-workflow-name", "google_labels"), ("wdl-task-name", "check_labels") ], + check_aliases = false + } +} diff --git a/centaur/src/main/resources/standardTestCases/google_labels_subworkflows.test b/centaur/src/main/resources/standardTestCases/google_labels_subworkflows.test index 4ccd8c68ff6..c2bc8114833 100644 --- a/centaur/src/main/resources/standardTestCases/google_labels_subworkflows.test +++ b/centaur/src/main/resources/standardTestCases/google_labels_subworkflows.test @@ -1,7 +1,6 @@ name: google_labels_sub testFormat: workflowsuccess -# see doc 2.13 -backends: [Papiv2, GCPBATCH_FAIL] +backends: [Papiv2, GCPBATCH_ALT] files { workflow: google_labels/wrapper.wdl