diff options
| author | Xe Iaso <me@xeiaso.net> | 2025-03-29 15:00:22 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-29 15:00:22 -0400 |
| commit | 52ca5390c2b54374e62cbcd2efaf78edaa4e7249 (patch) | |
| tree | e40c639e99e501bdb91acdc1750d7d16e36cc655 /internal/test | |
| parent | 6b2ae30baef6cdc1796a5ec5495c11686aaca50e (diff) | |
| download | anubis-52ca5390c2b54374e62cbcd2efaf78edaa4e7249.tar.xz anubis-52ca5390c2b54374e62cbcd2efaf78edaa4e7249.zip | |
Add staticheck to CI (#152)
* Add staticheck to CI
Signed-off-by: Xe Iaso <me@xeiaso.net>
* fix staticcheck warnings
Signed-off-by: Xe Iaso <me@xeiaso.net>
* oh, right, playwright is broken
Signed-off-by: Xe Iaso <me@xeiaso.net>
---------
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'internal/test')
| -rw-r--r-- | internal/test/playwright_test.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/internal/test/playwright_test.go b/internal/test/playwright_test.go index 8a0d501..d81b86a 100644 --- a/internal/test/playwright_test.go +++ b/internal/test/playwright_test.go @@ -30,9 +30,8 @@ import ( ) var ( - serverBindAddr = flag.String("bind", "localhost:3923", "test server bind address") - playwrightPort = flag.Int("playwright-port", 3000, "Playwright port") - playwrightServer = flag.String("playwright", "ws://localhost:3000", "Playwright server URL") + playwrightPort = flag.Int("playwright-port", 9001, "Playwright port") + playwrightServer = flag.String("playwright", "ws://localhost:9001", "Playwright server URL") playwrightMaxTime = flag.Duration("playwright-max-time", 5*time.Second, "maximum time for Playwright requests") playwrightMaxHardTime = flag.Duration("playwright-max-hard-time", 5*time.Minute, "maximum time for hard Playwright requests") |
