mirror of
https://github.com/kestra-io/kestra.git
synced 2025-12-19 18:05:41 -05:00
fix(flow): flow trigger with both conditions and preconditions
When a flow have both a condition and a precondition, the condition was evaluated twice which lead to double execution triggered. Fixes
This commit is contained in:
@@ -531,7 +531,7 @@ class FlowControllerTest {
|
||||
List<String> namespaces = client.toBlocking().retrieve(
|
||||
HttpRequest.GET("/api/v1/main/flows/distinct-namespaces"), Argument.listOf(String.class));
|
||||
|
||||
assertThat(namespaces.size()).isEqualTo(12);
|
||||
assertThat(namespaces.size()).isEqualTo(13);
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user