Skip to content

Commit b0cc8c2

Browse files
committed
Merge branch 'main' into release-2.4.5
2 parents 70e3073 + 5a26892 commit b0cc8c2

File tree

4 files changed

+26
-5
lines changed

4 files changed

+26
-5
lines changed

executorWdl/src/test/scala/dx/executor/wdl/TaskExecutorTest.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ class TaskExecutorTest extends AnyFlatSpec with Matchers {
275275
useManifests)
276276

277277
// create TaskExecutor
278-
(WdlTaskExecutor.create(jobMeta, streamFiles = streamFiles), jobMeta)
278+
(WdlTaskExecutor.create(jobMeta, streamFiles = streamFiles, waitOnUpload = false), jobMeta)
279279
}
280280

281281
// Parse the WDL source code, extract the single task that is supposed to be there,

scripts/run_tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,8 @@
243243
"hello",
244244
"path_not_taken",
245245
"optionals",
246-
"shapes"
246+
"shapes",
247+
#"population"
247248
]
248249
test_project_wide_reuse = ['add2', "add_many"]
249250

test/struct/runtime_vs_static_type.wdl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ struct WordStruct {
88
workflow runtime_vs_static_type {
99
call opt_int { input: x = 14 }
1010

11-
call opt_array { input: xa = [14,15,20] }
11+
call opt_array2 { input: xa = [14,15,20] }
1212

1313
WordStruct manitoba = object {
1414
word: "Manitoba",
@@ -19,7 +19,7 @@ workflow runtime_vs_static_type {
1919

2020
output {
2121
Int result = opt_int.result
22-
String result2 = opt_array.numbers
22+
String result2 = opt_array2.numbers
2323
String result3 = opt_struct.w
2424
}
2525
}
@@ -37,7 +37,7 @@ task opt_int {
3737
}
3838

3939

40-
task opt_array {
40+
task opt_array2 {
4141
input {
4242
Array[Int?] xa
4343
}

test/upload_file/upload_file.wdl

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
version 1.1
2+
3+
task upload_task {
4+
command <<<
5+
set -euxo pipefail
6+
echo "A" > output.txt
7+
>>>
8+
9+
output {
10+
File output_f = "output.txt"
11+
}
12+
}
13+
14+
workflow upload_wf {
15+
call upload_task
16+
17+
output {
18+
File output_f = upload_task.output_f
19+
}
20+
}

0 commit comments

Comments
 (0)