We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 92e99b6 commit 912cf4fCopy full SHA for 912cf4f
tests/integration/defs/conftest.py
@@ -2232,6 +2232,10 @@ def pytest_configure(config):
2232
periodic_interval = config.getoption("--periodic-interval")
2233
periodic_batch_size = config.getoption("--periodic-batch-size")
2234
2235
+ # Create output directory early (like --junitxml does) to avoid conflicts with other plugins
2236
+ # that may need to write to the same directory (e.g., pytest-split)
2237
+ os.makedirs(output_dir, exist_ok=True)
2238
+
2239
# Create the reporter with logger
2240
xmlpath = os.path.join(output_dir, "results.xml")
2241
reporter = PeriodicJUnitXML(
0 commit comments