@@ -37,7 +37,6 @@ public void cleanUpTest() {
37
37
cleanUp ();
38
38
}
39
39
40
- @ AwaitsFix (bugUrl = "https://github.com/elastic/ml-cpp/pulls/122" )
41
40
public void testTooManyPartitions () throws Exception {
42
41
Detector .Builder detector = new Detector .Builder ("count" , null );
43
42
detector .setPartitionFieldName ("user" );
@@ -63,7 +62,7 @@ public void testTooManyPartitions() throws Exception {
63
62
long timestamp = now - 8 * bucketSpan .seconds ();
64
63
List <String > data = new ArrayList <>();
65
64
while (timestamp < now ) {
66
- for (int i = 0 ; i < 10000 ; i ++) {
65
+ for (int i = 0 ; i < 11000 ; i ++) {
67
66
// It's important that the values used here are either always represented in less than 16 UTF-8 bytes or
68
67
// always represented in more than 22 UTF-8 bytes. Otherwise platform differences in when the small string
69
68
// optimisation is used will make the results of this test very different for the different platforms.
@@ -83,7 +82,6 @@ public void testTooManyPartitions() throws Exception {
83
82
assertThat (modelSizeStats .getMemoryStatus (), equalTo (ModelSizeStats .MemoryStatus .HARD_LIMIT ));
84
83
}
85
84
86
- @ AwaitsFix (bugUrl = "https://github.com/elastic/ml-cpp/pulls/122" )
87
85
public void testTooManyByFields () throws Exception {
88
86
Detector .Builder detector = new Detector .Builder ("count" , null );
89
87
detector .setByFieldName ("user" );
@@ -129,7 +127,6 @@ public void testTooManyByFields() throws Exception {
129
127
assertThat (modelSizeStats .getMemoryStatus (), equalTo (ModelSizeStats .MemoryStatus .HARD_LIMIT ));
130
128
}
131
129
132
- @ AwaitsFix (bugUrl = "https://github.com/elastic/ml-cpp/pulls/122" )
133
130
public void testTooManyByAndOverFields () throws Exception {
134
131
Detector .Builder detector = new Detector .Builder ("count" , null );
135
132
detector .setByFieldName ("department" );
@@ -179,7 +176,6 @@ public void testTooManyByAndOverFields() throws Exception {
179
176
assertThat (modelSizeStats .getMemoryStatus (), equalTo (ModelSizeStats .MemoryStatus .HARD_LIMIT ));
180
177
}
181
178
182
- @ AwaitsFix (bugUrl = "https://github.com/elastic/ml-cpp/pulls/122" )
183
179
public void testManyDistinctOverFields () throws Exception {
184
180
Detector .Builder detector = new Detector .Builder ("sum" , "value" );
185
181
detector .setOverFieldName ("user" );
0 commit comments