mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
fix(tests): mark LogConsumerTest.logs() as flaky
This commit is contained in:
@@ -2,6 +2,7 @@ package io.kestra.plugin.scripts.runners;
|
||||
|
||||
import com.google.common.collect.ImmutableMap;
|
||||
import io.kestra.core.context.TestRunContextFactory;
|
||||
import io.kestra.core.junit.annotations.FlakyTest;
|
||||
import io.kestra.core.models.executions.LogEntry;
|
||||
import io.kestra.core.models.property.Property;
|
||||
import io.kestra.core.models.tasks.runners.TaskCommands;
|
||||
@@ -96,6 +97,7 @@ class LogConsumerTest {
|
||||
}
|
||||
|
||||
@Test
|
||||
@FlakyTest
|
||||
void logs() throws Exception {
|
||||
List<LogEntry> logs = new CopyOnWriteArrayList<>();
|
||||
Flux<LogEntry> receive = TestsUtils.receive(logQueue, l -> logs.add(l.getLeft()));
|
||||
|
||||
Reference in New Issue
Block a user