[Test][XPU] Skip fork in kv_sharing_fast_prefill test on XPU (#47406)

Signed-off-by: Ma, Liangliang <liangliang.ma@intel.com> Co-authored-by: Kunshang Ji <kunshang.ji@intel.com>

Liangliang Ma committed Jul 6, 2026 at 11:32 UTC 69715823df89b11ee684b84066390cbb9092d5c1
1 file changed +3 -1
tests/v1/e2e/general/test_kv_sharing_fast_prefill.py
+3 -1
@@ -45,7 +45,9 @@ def test_prompts():
45
46
47 use_fork_for_test = (
48 - fork_new_process_for_each_test if not current_platform.is_rocm() else lambda x: x
48 + fork_new_process_for_each_test
49 + if not (current_platform.is_rocm() or current_platform.is_xpu())
50 + else lambda x: x
51 )
52
53