Skip to content

Commit a53166f

Browse files
authored
fix memory limit in testMaybeSample (#137935)
1 parent fd629a7 commit a53166f

File tree

2 files changed

+1
-4
lines changed

2 files changed

+1
-4
lines changed

muted-tests.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -463,9 +463,6 @@ tests:
463463
- class: org.elasticsearch.xpack.inference.external.http.sender.RequestExecutorServiceTests
464464
method: testExecute_NotifiesNonRateLimitedTasksOfShutdown
465465
issue: https://github.com/elastic/elasticsearch/issues/137831
466-
- class: org.elasticsearch.ingest.SamplingServiceTests
467-
method: testMaybeSample
468-
issue: https://github.com/elastic/elasticsearch/issues/137871
469466
- class: org.elasticsearch.xpack.inference.integration.AuthorizationTaskExecutorMultipleNodesIT
470467
method: testAuthorizationTaskGetsRelocatedToAnotherNode_WhenTheNodeThatIsRunningItShutsDown
471468
issue: https://github.com/elastic/elasticsearch/issues/137911

server/src/test/java/org/elasticsearch/ingest/SamplingServiceTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public void testMaybeSample() {
7171
.putCustom(
7272
SamplingMetadata.TYPE,
7373
new SamplingMetadata(
74-
Map.of(indexName, new SamplingConfiguration(1.0, maxSize, ByteSizeValue.ofKb(100), TimeValue.timeValueDays(3), null))
74+
Map.of(indexName, new SamplingConfiguration(1.0, maxSize, ByteSizeValue.ofKb(500), TimeValue.timeValueDays(3), null))
7575
)
7676
);
7777
projectMetadata = projectBuilder.build();

0 commit comments

Comments
 (0)