Skip to content

Commit dd7d43f

Browse files
fix(tests): attempt for flaky tests
1 parent 611eee8 commit dd7d43f

File tree

13 files changed

+26
-36
lines changed

13 files changed

+26
-36
lines changed

gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
version=1.0.0-SNAPSHOT
1+
version=1.1.0-SNAPSHOT
22
kestraVersion=[0.23,)

plugin-script-go/src/test/java/io/kestra/plugins/scripts/go/CommandsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ void should_create_output_csv() throws Exception {
9393
var goScript = storageInterface.put(
9494
TenantService.MAIN_TENANT,
9595
null,
96-
new URI("/file/storage/go_script.go"),
96+
new URI("/file/storage/csv_output/go_script.go"),
9797
IOUtils.toInputStream("""
9898
package main
9999
import (

plugin-script-julia/src/test/java/io/kestra/plugin/scripts/julia/CommandsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void task() throws Exception {
4747
URI put = storageInterface.put(
4848
TenantService.MAIN_TENANT,
4949
null,
50-
new URI("/file/storage/get.yml"),
50+
new URI("/file/storage/tests/scripts/julia/get.yml"),
5151
IOUtils.toInputStream(
5252
"@info \"hello there!\";",
5353
StandardCharsets.UTF_8

plugin-script-node/src/test/java/io/kestra/plugin/scripts/node/CommandsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void task() throws Exception {
4747
URI put = storageInterface.put(
4848
TenantService.MAIN_TENANT,
4949
null,
50-
new URI("/file/storage/get.yml"),
50+
new URI("/file/storage/tests/scripts/node/get.yml"),
5151
IOUtils.toInputStream(
5252
"console.log('hello there!');",
5353
StandardCharsets.UTF_8

plugin-script-php/src/test/java/io/kestra/plugin/scripts/php/CommandsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void task() throws Exception {
4848
var phpScript = storageInterface.put(
4949
TenantService.MAIN_TENANT,
5050
null,
51-
new URI("/file/storage/get.yml"),
51+
new URI("/file/storage/tests/scripts/php/get.yml"),
5252
IOUtils.toInputStream(
5353
"""
5454
#!/usr/bin/php

plugin-script-powershell/src/test/java/io/kestra/plugin/scripts/powershell/CommandsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ void task() throws Exception {
5050
URI put = storageInterface.put(
5151
TenantService.MAIN_TENANT,
5252
null,
53-
new URI("/file/storage/get.yml"),
53+
new URI("/file/storage/tests/scripts/powershell/get.yml"),
5454
IOUtils.toInputStream(
5555
"Get-ChildItem | Format-List",
5656
StandardCharsets.UTF_8

plugin-script-python/src/test/java/io/kestra/plugin/scripts/python/CommandsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ void task() throws Exception {
4848
URI put = storageInterface.put(
4949
TenantService.MAIN_TENANT,
5050
null,
51-
new URI("/file/storage/get.yml"),
51+
new URI("/file/storage/tests/scripts/python/get.yml"),
5252
IOUtils.toInputStream(
5353
"print('hello there!')",
5454
StandardCharsets.UTF_8

plugin-script-python/src/test/java/io/kestra/plugin/scripts/python/ScriptTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ void inputs(RunnerType runner, DockerOptions dockerOptions) throws Exception {
148148
URI put = storageInterface.put(
149149
TenantService.MAIN_TENANT,
150150
null,
151-
new URI("/file/storage/get.yml"),
151+
new URI("/file/storage/tests/scripts/get.yml"),
152152
IOUtils.toInputStream(
153153
"hello there!",
154154
StandardCharsets.UTF_8

plugin-script-r/src/test/java/io/kestra/plugin/scripts/r/CommandsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void task() throws Exception {
4747
URI put = storageInterface.put(
4848
TenantService.MAIN_TENANT,
4949
null,
50-
new URI("/file/storage/get.yml"),
50+
new URI("/file/storage/tests/scripts/r/get.yml"),
5151
IOUtils.toInputStream(
5252
"aString = \"Hello World!\"\n" +
5353
"print (aString)",

plugin-script-ruby/src/test/java/io/kestra/plugin/scripts/ruby/CommandsTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ void task() throws Exception {
4747
URI put = storageInterface.put(
4848
TenantService.MAIN_TENANT,
4949
null,
50-
new URI("/file/storage/get.yml"),
50+
new URI("/file/storage/tests/scripts/ruby/get.yml"),
5151
IOUtils.toInputStream(
5252
"puts \"Hello World!\"\n" +
5353
"STDERR.puts \"done\"",

0 commit comments

Comments
 (0)