Closed maxim-lobanov closed 5 years ago
@jmoody , Please let us know if you see any drawbacks or possible regression with this approach
Okay, I see that some tests failed, strange I have missed it locally. Looking
The Jenkins CI machine is unstable. Expect failures.
Issue: Test fails in
run_loop/spec/integration/core_simulator_spec.rb
RunLoop::CoreSimulator#launch_simulator does not relaunch if the simulator is already running
Test fails with error message:
DEBUG: Simulator relaunch required: simulator was not launched by run_loop
Root cause:
running_simulator_details
function searches the first process with substringMacOS/#{sim_name}
. On Mojave there are two processes that matches this substr:Fix: We need to use more specific searching pattern for Simulator process. Since macOS command
ps x -o pid=,command=
returns the full path to the simulator we can use the full path as searching pattern.