From 847fb0dd94eade7a415ece4c4d0d8cca62c4c07a Mon Sep 17 00:00:00 2001 From: YannC Date: Mon, 30 Sep 2024 10:23:36 +0200 Subject: [PATCH] fix(EvalTest): make thread.sleep() longer to avoid flakyness --- .../src/test/java/io/kestra/plugin/scripts/jvm/EvalTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin-script/src/test/java/io/kestra/plugin/scripts/jvm/EvalTest.java b/plugin-script/src/test/java/io/kestra/plugin/scripts/jvm/EvalTest.java index 9f2ba27..67dcb9f 100644 --- a/plugin-script/src/test/java/io/kestra/plugin/scripts/jvm/EvalTest.java +++ b/plugin-script/src/test/java/io/kestra/plugin/scripts/jvm/EvalTest.java @@ -43,7 +43,7 @@ void run() throws Exception { RunContext runContext = TestsUtils.mockRunContext(runContextFactory, task, ImmutableMap.of()); Eval.Output runOutput = task.run(runContext); - Thread.sleep(100); + Thread.sleep(500); LogEntry firstLog = receive.blockFirst(); assertThat(firstLog.getLevel(), is(Level.INFO));