Skip to content

Commit c4d037c

Browse files
committed
Tests passing locally... try sleep before server stop
1 parent 8008e8c commit c4d037c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

exporters/otlp/test/otlp_http_exporter_test.cc

+2
Original file line numberDiff line numberDiff line change
@@ -775,6 +775,8 @@ TEST_P(OtlpHttpExporterRetryIntegrationTests, StatusCodes)
775775
auto provider = trace_sdk::TracerProviderFactory::Create(std::move(processor));
776776
provider->GetTracer("Test tracer")->StartSpan("Test span")->End();
777777
provider->ForceFlush();
778+
779+
std::this_thread::sleep_for(std::chrono::milliseconds{500});
778780
server.stop();
779781

780782
ASSERT_EQ(expected_attempts, request_count);

0 commit comments

Comments
 (0)