Skip to content

Commit

Permalink
try fix thread leak
Browse files Browse the repository at this point in the history
Signed-off-by: Yupeng Fu <[email protected]>
  • Loading branch information
yupeng9 committed Jan 19, 2025
1 parent 88e27f6 commit 8e7af9c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

package org.opensearch.plugin.kafka;

import com.carrotsearch.randomizedtesting.annotations.ThreadLeakLingering;

import org.apache.kafka.clients.producer.KafkaProducer;
import org.apache.kafka.clients.producer.Producer;
import org.apache.kafka.clients.producer.ProducerRecord;
Expand Down Expand Up @@ -43,6 +45,7 @@
/**
* Integration test for Kafka ingestion
*/
@ThreadLeakLingering(linger = 5000) // wait for container pull thread to die
public class IngestFromKafkaIT extends OpenSearchIntegTestCase {
static final String topicName = "test";

Expand Down

0 comments on commit 8e7af9c

Please sign in to comment.