mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-02 11:07:10 +00:00
feat(ioscompanion): make the hybrid simulator companion the default
This commit is contained in:
1 parent
398a05278b
commit
11a6a5b4c8
1 file changed
+3
-3
@@ -286,10 +286,10 @@ func (d *Driver) respawnAndRedial(ctx context.Context) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// hybridCompanionEnabled reports whether the simulator driver should pair the
|
// hybridCompanionEnabled reports whether the simulator driver should pair the
|
||||||
// legacy companion with the in-simulator runner. The hybrid is opt-in while it
|
// legacy companion with the in-simulator runner. The hybrid is the default;
|
||||||
// is proven out; SANDERLING_SIMULATOR_COMPANION=hybrid enables it.
|
// SANDERLING_SIMULATOR_COMPANION=legacy forces the legacy companion alone.
|
||||||
func hybridCompanionEnabled() bool {
|
func hybridCompanionEnabled() bool {
|
||||||
return os.Getenv("SANDERLING_SIMULATOR_COMPANION") == "hybrid"
|
return os.Getenv("SANDERLING_SIMULATOR_COMPANION") != "legacy"
|
||||||
}
|
}
|
||||||
|
|
||||||
// bringUpRunner spawns the in-simulator runner, waits for its listener, dials,
|
// bringUpRunner spawns the in-simulator runner, waits for its listener, dials,
|
||||||
|
|||||||
Reference in new issue
Block a user