diff --git a/test/cpp/ext/otel/otel_plugin_test.cc b/test/cpp/ext/otel/otel_plugin_test.cc index 863181f2d34..cbc9b18fc42 100644 --- a/test/cpp/ext/otel/otel_plugin_test.cc +++ b/test/cpp/ext/otel/otel_plugin_test.cc @@ -1919,7 +1919,7 @@ TEST_F(OpenTelemetryPluginCallbackMetricsTest, reporter.Report(double_gauge_handle, double_value_1++, kLabelValuesSet2, kOptionalLabelValuesSet2); }, - grpc_core::Duration::Milliseconds(10) * grpc_test_slowdown_factor(), + grpc_core::Duration::Milliseconds(50) * grpc_test_slowdown_factor(), integer_gauge_handle, double_gauge_handle); int report_count_2 = 0; int64_t int_value_2 = 1; @@ -1936,9 +1936,9 @@ TEST_F(OpenTelemetryPluginCallbackMetricsTest, reporter.Report(double_gauge_handle, double_value_2++, kLabelValuesSet2, kOptionalLabelValuesSet2); }, - grpc_core::Duration::Milliseconds(10) * grpc_test_slowdown_factor(), + grpc_core::Duration::Milliseconds(50) * grpc_test_slowdown_factor(), integer_gauge_handle, double_gauge_handle); - constexpr int kIterations = 100; + constexpr int kIterations = 50; MetricsCollectorThread collector{ this, grpc_core::Duration::Milliseconds(100) * grpc_test_slowdown_factor(),