From 36deb0cad1c265df3f87d53098133a3704b1a582 Mon Sep 17 00:00:00 2001 From: Karsten Schnitter Date: Fri, 1 Nov 2024 21:39:50 +0100 Subject: [PATCH] Rename Test-Cases to Adhere to Convention Signed-off-by: Karsten Schnitter --- ...urceRetryInfoTest.java => OtelLogsSource_RetryInfoTest.java} | 2 +- ...eRetryInfoTest.java => OTelMetricsSource_RetryInfoTest.java} | 2 +- ...rceRetryInfoTest.java => OTelTraceSource_RetryInfoTest.java} | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) rename data-prepper-plugins/otel-logs-source/src/test/java/org/opensearch/dataprepper/plugins/source/otellogs/{OtelLogsSourceRetryInfoTest.java => OtelLogsSource_RetryInfoTest.java} (99%) rename data-prepper-plugins/otel-metrics-source/src/test/java/org/opensearch/dataprepper/plugins/source/otelmetrics/{OTelMetricsSourceRetryInfoTest.java => OTelMetricsSource_RetryInfoTest.java} (99%) rename data-prepper-plugins/otel-trace-source/src/test/java/org/opensearch/dataprepper/plugins/source/oteltrace/{OTelTraceSourceRetryInfoTest.java => OTelTraceSource_RetryInfoTest.java} (99%) diff --git a/data-prepper-plugins/otel-logs-source/src/test/java/org/opensearch/dataprepper/plugins/source/otellogs/OtelLogsSourceRetryInfoTest.java b/data-prepper-plugins/otel-logs-source/src/test/java/org/opensearch/dataprepper/plugins/source/otellogs/OtelLogsSource_RetryInfoTest.java similarity index 99% rename from data-prepper-plugins/otel-logs-source/src/test/java/org/opensearch/dataprepper/plugins/source/otellogs/OtelLogsSourceRetryInfoTest.java rename to data-prepper-plugins/otel-logs-source/src/test/java/org/opensearch/dataprepper/plugins/source/otellogs/OtelLogsSource_RetryInfoTest.java index ad18b7cec8..40cdaa1091 100644 --- a/data-prepper-plugins/otel-logs-source/src/test/java/org/opensearch/dataprepper/plugins/source/otellogs/OtelLogsSourceRetryInfoTest.java +++ b/data-prepper-plugins/otel-logs-source/src/test/java/org/opensearch/dataprepper/plugins/source/otellogs/OtelLogsSource_RetryInfoTest.java @@ -55,7 +55,7 @@ import io.opentelemetry.proto.resource.v1.Resource; @ExtendWith(MockitoExtension.class) -class OtelLogsSourceRetryInfoTest { +class OtelLogsSource_RetryInfoTest { private static final String GRPC_ENDPOINT = "gproto+http://127.0.0.1:21892/"; private static final String TEST_PIPELINE_NAME = "test_pipeline"; private static final RetryInfoConfig TEST_RETRY_INFO = new RetryInfoConfig(Duration.ofMillis(100), Duration.ofMillis(2000)); diff --git a/data-prepper-plugins/otel-metrics-source/src/test/java/org/opensearch/dataprepper/plugins/source/otelmetrics/OTelMetricsSourceRetryInfoTest.java b/data-prepper-plugins/otel-metrics-source/src/test/java/org/opensearch/dataprepper/plugins/source/otelmetrics/OTelMetricsSource_RetryInfoTest.java similarity index 99% rename from data-prepper-plugins/otel-metrics-source/src/test/java/org/opensearch/dataprepper/plugins/source/otelmetrics/OTelMetricsSourceRetryInfoTest.java rename to data-prepper-plugins/otel-metrics-source/src/test/java/org/opensearch/dataprepper/plugins/source/otelmetrics/OTelMetricsSource_RetryInfoTest.java index cd151bd553..403efee46b 100644 --- a/data-prepper-plugins/otel-metrics-source/src/test/java/org/opensearch/dataprepper/plugins/source/otelmetrics/OTelMetricsSourceRetryInfoTest.java +++ b/data-prepper-plugins/otel-metrics-source/src/test/java/org/opensearch/dataprepper/plugins/source/otelmetrics/OTelMetricsSource_RetryInfoTest.java @@ -56,7 +56,7 @@ import io.opentelemetry.proto.resource.v1.Resource; @ExtendWith(MockitoExtension.class) -class OTelMetricsSourceRetryInfoTest { +class OTelMetricsSource_RetryInfoTest { private static final String GRPC_ENDPOINT = "gproto+http://127.0.0.1:21891/"; private static final String TEST_PIPELINE_NAME = "test_pipeline"; private static final RetryInfoConfig TEST_RETRY_INFO = new RetryInfoConfig(Duration.ofMillis(100), Duration.ofMillis(2000)); diff --git a/data-prepper-plugins/otel-trace-source/src/test/java/org/opensearch/dataprepper/plugins/source/oteltrace/OTelTraceSourceRetryInfoTest.java b/data-prepper-plugins/otel-trace-source/src/test/java/org/opensearch/dataprepper/plugins/source/oteltrace/OTelTraceSource_RetryInfoTest.java similarity index 99% rename from data-prepper-plugins/otel-trace-source/src/test/java/org/opensearch/dataprepper/plugins/source/oteltrace/OTelTraceSourceRetryInfoTest.java rename to data-prepper-plugins/otel-trace-source/src/test/java/org/opensearch/dataprepper/plugins/source/oteltrace/OTelTraceSource_RetryInfoTest.java index 14979adc03..b3f2cb6de8 100644 --- a/data-prepper-plugins/otel-trace-source/src/test/java/org/opensearch/dataprepper/plugins/source/oteltrace/OTelTraceSourceRetryInfoTest.java +++ b/data-prepper-plugins/otel-trace-source/src/test/java/org/opensearch/dataprepper/plugins/source/oteltrace/OTelTraceSource_RetryInfoTest.java @@ -52,7 +52,7 @@ import io.opentelemetry.proto.trace.v1.Span; @ExtendWith(MockitoExtension.class) -class OTelTraceSourceRetryInfoTest { +class OTelTraceSource_RetryInfoTest { private static final String GRPC_ENDPOINT = "gproto+http://127.0.0.1:21890/"; private static final String TEST_PIPELINE_NAME = "test_pipeline"; private static final RetryInfoConfig TEST_RETRY_INFO = new RetryInfoConfig(Duration.ofMillis(100), Duration.ofMillis(2000));