Skip to content

Commit 4ac5620

Browse files
committed
Generate at most 8 branches
1 parent 816d24b commit 4ac5620

File tree

1 file changed

+1
-1
lines changed
  • x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/command/pipe

1 file changed

+1
-1
lines changed

x-pack/plugin/esql/qa/server/src/main/java/org/elasticsearch/xpack/esql/qa/rest/generative/command/pipe/ForkGenerator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public CommandDescription generate(
3434
}
3535
}
3636

37-
int n = randomIntBetween(2, 10);
37+
int n = randomIntBetween(2, 8);
3838

3939
String cmd = " | FORK " + "( WHERE true ) ".repeat(n) + " | WHERE _fork == \"fork" + randomIntBetween(1, n) + "\" | DROP _fork";
4040

0 commit comments

Comments
 (0)