Skip to content

Commit

Permalink
Fix SyslogCodecTest.testCiscoSyslogMessages (Graylog2#4445)
Browse files Browse the repository at this point in the history
Set the year to 2017 to match test expectations
  • Loading branch information
edmundoa authored and bernd committed Jan 2, 2018
1 parent 3de61c0 commit 0b87942
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ public void testCiscoSyslogMessages() {
.put(
"<190>: 2017 Mar 06 09:22:34 CET: %AUTHPRIV-6-SYSTEM_MSG: START: rsync pid=4311 from=::ffff:IP - xinetd[6219]",
ImmutableMap.<String, Object>builder()
.put("timestamp", new DateTime(year, 3, 6, 9, 22, 34, DateTimeZone.forID("CET")).withZone(DateTimeZone.getDefault()))
.put("timestamp", new DateTime(2017, 3, 6, 9, 22, 34, DateTimeZone.forID("CET")).withZone(DateTimeZone.getDefault()))
.put("source", "127.0.0.1")
.put("level", 6)
.put("facility", "local7")
Expand Down

0 comments on commit 0b87942

Please sign in to comment.