https://pantsbuild.org/ logo
#development
Title
# development
w

witty-crayon-22786

09/03/2022, 1:35 AM
edits like
Copy code
diff --git a/src/python/pants/jvm/test/junit.py b/src/python/pants/jvm/test/junit.py
index fa867007ec..122a804647 100644
--- a/src/python/pants/jvm/test/junit.py
+++ b/src/python/pants/jvm/test/junit.py
@@ -188,10 +188,7 @@ async def run_junit_test(
 async def setup_junit_debug_request(field_set: JunitTestFieldSet) -> TestDebugRequest:
     setup = await Get(TestSetup, TestSetupRequest(field_set, is_debug=True))
     process = await Get(Process, JvmProcess, setup.process)
-    interactive_process = await Get(
-        InteractiveProcess,
-        InteractiveProcessRequest(process, forward_signals_to_process=False, restartable=True),
-    )
+    interactive_process = InteractiveProcess.from_process(process, forward_signals_to_process=False, restartable=True)
     return TestDebugRequest(interactive_process)
…should be enough?