Uploaded image for project: 'Metron (Retired)'
  1. Metron (Retired)
  2. METRON-647

Parser unit test failures due to assumed year values

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Done
    • Blocker
    • Resolution: Done
    • None
    • 0.3.1
    • None

    Description

      Unit Tests Failing:

      • BasicAsaParserTest.testIp6Addr:151
      • GrokWebSphereParserTest.testParseLoginLine:60
      • GrokWebSphereParserTest.testParseMalformedLoginLine:151
      • GrokWebSphereParserTest.tetsParseLogoutLine:84
      • GrokWebSphereParserTest.tetsParseMalformedLogoutLine:175
      • GrokWebSphereParserTest.tetsParseMalformedOtherLine:220
      • GrokWebSphereParserTest.tetsParseMalformedRBMLine:198
      • GrokWebSphereParserTest.tetsParseOtherLine:129
      • GrokWebSphereParserTest.tetsParseRBMLine:107

      The issue appears to be the same for all. The original syslog message did not include a year (fairly common); however, we have hard coded an assertion based on the year the code was written (in our case 2016).

      Attachments

        Issue Links

          Activity

            People

              justinleet Justin Leet
              kylerichardson Kyle Richardson
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: