Linger is An Open-Source Personal Agent That Runs Fully on Your PC. We aim to break Big Tech’s grip on AI by bringing powerful local AI to everyday computers through efficient model–harness co-design, so everyone can run their own.
test(computer): bound browser close tests by the close limit they set
shoudi zhengfceb919d7288
diff --git a/apps/computer/local-daemon/internal/linger/localtools/native_browser_close_unix_test.go b/apps/computer/local-daemon/internal/linger/localtools/native_browser_close_unix_test.goindex a330acb0..24efd9fc 100644--- a/apps/computer/local-daemon/internal/linger/localtools/native_browser_close_unix_test.go+++ b/apps/computer/local-daemon/internal/linger/localtools/native_browser_close_unix_test.go@@ -146,7 +146,7 @@ func TestNativeBrowserCloseDoesNotTreatCDPReplyOrEOFAsExit(t *testing.T) {if err := f.browser.close(); err != nil {t.Fatal(err)}- if time.Since(started) > 12*time.Second {+ if time.Since(started) > nativeBrowserCloseLimit+2*time.Second {t.Fatal("browser cleanup exceeded its bounded fallback")}if f.stopCalls.Load() != 1 || f.closeCalls.Load() != 1 {@@ -182,7 +182,7 @@ func TestNativeBrowserReadinessFailureRetainsUnknownProcess(t *testing.T) {if !errors.Is(err, mcpproxy.ErrCleanupUnconfirmed) || owner != f.browser || m.browsers["fixture"] != f.browser {t.Fatalf("startup dropped unknown browser ownership: %v", err)}- if time.Since(started) > 12*time.Second {+ if time.Since(started) > nativeBrowserCloseLimit+2*time.Second {t.Fatal("unknown startup cleanup exceeded its bounded return")}select {