Skip to content

Commit

Permalink
Merge pull request coreos#299 from pkern/master
Browse files Browse the repository at this point in the history
journal: skip sending test if journald is unavailable
  • Loading branch information
Luca Bruno authored Feb 4, 2019
2 parents 9002847 + 056be78 commit 081494f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions journal/journal_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ func TestValidVarName(t *testing.T) {
}

func TestJournalSend(t *testing.T) {
if !Enabled() {
t.Skip("systemd journal not available locally")
}

// an always-too-big value (hopefully)
hugeValue := 1234567890

Expand Down

0 comments on commit 081494f

Please sign in to comment.