Skip to content

Commit 4b0a458

Browse files
committed
fork does not exist on windows.
1 parent 4658bda commit 4b0a458

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

opentelemetry-sdk/tests/shared_internal/test_batch_processor.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,8 @@
4848
instrumentation_scope=InstrumentationScope("example", "example"),
4949
)
5050

51-
multiprocessing.set_start_method("fork")
51+
if system() != "Windows":
52+
multiprocessing.set_start_method("fork")
5253

5354

5455
# BatchLogRecodProcessor/BatchSpanProcessor initialize and use BatchProcessor.

0 commit comments

Comments
 (0)