init
release-tag / release-image (push) Failing after 1m20s

This commit is contained in:
2026-08-31 17:09:21 +02:00
parent 57e5114b60
commit 45ca18b74e
38 changed files with 6169 additions and 1 deletions
+18
View File
@@ -0,0 +1,18 @@
package config
import "testing"
func TestStrictEnvironmentParsing(t *testing.T) {
t.Setenv("CHECK_CONCURRENCY", "not-a-number")
if _, err := Load(); err == nil {
t.Fatal("expected invalid CHECK_CONCURRENCY to fail instead of silently using a default")
}
}
func TestStrictBooleanParsing(t *testing.T) {
t.Setenv("CHECK_CONCURRENCY", "8")
t.Setenv("AUTH_DISABLED", "sometimes")
if _, err := Load(); err == nil {
t.Fatal("expected invalid AUTH_DISABLED to fail")
}
}