diff --git a/tests/Functional/bootstrap.php b/tests/Functional/bootstrap.php index 1128b784..df7b3642 100644 --- a/tests/Functional/bootstrap.php +++ b/tests/Functional/bootstrap.php @@ -9,10 +9,14 @@ chdir(__DIR__ . '/../..'); require_once __DIR__ . '/../../vendor/autoload.php'; +$sysInfo = \Temporal\Testing\SystemInfo::detect(); + $environment = Environment::create(); $environment->startTemporalTestServer(); (new SearchAttributeTestInvoker)(); -$environment->startRoadRunner('./rr serve -c .rr.silent.yaml -w tests/Functional'); +$environment->startRoadRunner( + rrCommand: sprintf('%s serve -c .rr.silent.yaml -w tests/Functional', $sysInfo->rrExecutable), +); register_shutdown_function(fn() => $environment->stop()); // Default feature flags