fix test and lint in web (#2219)

This commit is contained in:
Cytown
2026-03-31 15:50:55 +08:00
committed by GitHub
parent 31fcf55297
commit e4893d27d7
3 changed files with 13 additions and 5 deletions
+1
View File
@@ -68,6 +68,7 @@ func resetGatewayTestState(t *testing.T) {
originalRestartGracePeriod := gatewayRestartGracePeriod
originalRestartForceKillWindow := gatewayRestartForceKillWindow
originalRestartPollInterval := gatewayRestartPollInterval
t.Setenv("PICOCLAW_HOME", t.TempDir())
t.Cleanup(func() {
gatewayHealthGet = originalHealthGet
gatewayRestartGracePeriod = originalRestartGracePeriod