mirror of
https://github.com/priyanshujain/sanderling.git
synced 2026-10-04 20:17:09 +00:00
test(ioscompanion): pin the child-lifetime test to the legacy path
This commit is contained in:
1 parent
672dd52772
commit
dc3a407069
1 file changed
+3
@@ -467,6 +467,9 @@ func indexOf(slice []string, value string) int {
|
|||||||
// driver-lifetime context, not the startup-scoped one: a startup context that
|
// driver-lifetime context, not the startup-scoped one: a startup context that
|
||||||
// is canceled when New returns would SIGTERM the child mid-run.
|
// is canceled when New returns would SIGTERM the child mid-run.
|
||||||
func TestNewChildOutlivesStartup(t *testing.T) {
|
func TestNewChildOutlivesStartup(t *testing.T) {
|
||||||
|
// The legacy-only path keeps this test focused on the companion child;
|
||||||
|
// the hybrid default would also demand runner assets.
|
||||||
|
t.Setenv("SANDERLING_SIMULATOR_COMPANION", "legacy")
|
||||||
listener, err := net.Listen("tcp", "127.0.0.1:0")
|
listener, err := net.Listen("tcp", "127.0.0.1:0")
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
|
|||||||
Reference in new issue
Block a user