Skip to content

Commit 49a2175

Browse files
kkrik-escbuescher
authored andcommitted
Reduce load for stress test to avoid oom (elastic#112331)
Fixes elastic#112326
1 parent e73ba88 commit 49a2175

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/framework/src/test/java/org/elasticsearch/logsdb/datageneration/DataGeneratorTests.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,13 +113,13 @@ protected Collection<? extends Plugin> getPlugins() {
113113
}
114114

115115
public void testDataGeneratorStressTest() throws IOException {
116-
// Let's generate 1000000 fields to test an extreme case (2 levels of objects + 1 leaf level with 100 fields per object).
116+
// Let's generate 125000 fields to test an extreme case (2 levels of objects + 1 leaf level with 50 fields per object).
117117
var testChildFieldGenerator = new DataSourceResponse.ChildFieldGenerator() {
118118
private int generatedFields = 0;
119119

120120
@Override
121121
public int generateChildFieldCount() {
122-
return 100;
122+
return 50;
123123
}
124124

125125
@Override

0 commit comments

Comments
 (0)