diff --git a/Makefile b/Makefile index cab961f5..c6a548b7 100644 --- a/Makefile +++ b/Makefile @@ -197,6 +197,11 @@ register-lint: ## Verify `func Register*` symbols live only under components/** @scripts/register-lint.sh actionlint: ## Lint GitHub Actions workflow files (syntax + embedded shellcheck for run: blocks). + @if ! command -v shellcheck >/dev/null 2>&1; then \ + echo "WARNING: shellcheck not on PATH; actionlint will skip run-block shellcheck."; \ + echo " macOS: brew install shellcheck"; \ + echo " Linux: apt-get install shellcheck"; \ + fi go tool actionlint no-autoupdate-check: ## Enforce RFC-0008: cmd/, components/, internal/, pkg/ contain no in-binary auto-update mechanism. Also runs the gate's own regression test against fixtures. diff --git a/components/receivers/kernelevents/journald_test.go b/components/receivers/kernelevents/journald_test.go index a84d4fd8..b3604e58 100644 --- a/components/receivers/kernelevents/journald_test.go +++ b/components/receivers/kernelevents/journald_test.go @@ -36,8 +36,8 @@ func TestJournaldSource_StreamsMockOutput(t *testing.T) { case rec := <-out: require.Equal(t, 3, rec.priority, "Xid is err-level") require.Contains(t, rec.body, "Xid (PCI:0000:65:00.0): 79") - case <-time.After(2 * time.Second): - t.Fatal("no record from mock journalctl within 2s") + case <-time.After(5 * time.Second): + t.Fatal("no record from mock journalctl within 5s") } }