Preserve independent background sessions through owner shutdown and idle cleanup
This commit is contained in:
@@ -141,6 +141,9 @@ func TestHostedDetachRetainsAnswerableInteractions(t *testing.T) {
|
||||
}
|
||||
wait(before)
|
||||
before.Detach()
|
||||
// Default lifetime is unbounded: keep the original upstream callback identity
|
||||
// even across more than one host expiry tick while Pipelines is down.
|
||||
time.Sleep(1200 * time.Millisecond)
|
||||
after, err := Open(ctx)
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
|
||||
Reference in New Issue
Block a user