v0.29.0 the configuration engine, and lw --schema
Package / arch (push) Canceled after 0s
Package / user (push) Canceled after 0s
Package / deb (push) Canceled after 0s
Package / freebsd (push) Canceled after 0s
Package / image (push) Canceled after 0s
Test / test (push) Canceled after 0s
Test / e2e (push) Canceled after 0s

This commit is contained in:
lixen committed 2026-10-09 18:34:45 -04:00
1 parent e8e5f05e47
commit dfd8a68988
28 files changed
+1381 -240

No files matched your search

+5
View File
@@ -20,6 +20,11 @@ func testLogger(t *testing.T) {
func loadTestConfig(t *testing.T, path string, args ...string) *config.Config {
t.Helper()
testutil.ClearEnvPrefix(t, "LOGWISP_")
return loadWithEnvironment(t, path, args...)
}
func loadWithEnvironment(t *testing.T, path string, args ...string) *config.Config {
t.Helper()
inv, err := parseCommandLine(append([]string{"-c", path, "--quiet", "--status_reporter=false"}, args...))
if err != nil {
t.Fatal(err)