logstash-plugins / logstash-filter-date

Apache License 2.0
7 stars 43 forks source link

Test suite result with 1 fail in master branch #122

Open Bankde opened 6 years ago

Bankde commented 6 years ago

Commit: 4380fca5bdb50562ab4afbc02ccfee4db2f949ee (HEAD -> master, origin/master, origin/HEAD) Operating System: Ubuntu Ruby: jruby 9.1.13.0 (2.3.3) 2017-09-06 8e1c115 Java HotSpot(TM) 64-Bit Server VM 25.161-b12 on 1.8.0_161-b12 +jit [linux-x86_64] Logstash: logstash-core-5.6.4

# bundle exec rspec
Sending Logstash's logs to  which is now configured via log4j2.properties
override locale
Run options: exclude {:redis=>true, :socket=>true, :performance=>true, :couchdb=>true, :elasticsearch=>true, :elasticsearch_secure=>true, :export_cypher=>true, :integration=>true, :windows=>true}

Randomized with seed 56819
...............................F.....................................................

Failures:

  1) LogStash::Filters::Date cancelled events cancelled events list ignores and return ignored cancelled
     Failure/Error: expect(result[2].timestamp.year).to eq(uncancelled_year)

       expected: 2001
            got: 2000

       (compared using ==)
     # ./spec/filters/date_spec.rb:872:in `block in (root)'
     # /usr/local/rvm/gems/jruby-9.1.13.0/gems/rspec-wait-0.0.9/lib/rspec/wait.rb:46:in `block in (root)'

Finished in 10.26 seconds (files took 11.73 seconds to load)
85 examples, 1 failure

Failed examples:

rspec ./spec/filters/date_spec.rb:863 # LogStash::Filters::Date cancelled events cancelled events list ignores and return ignored cancelled

Randomized with seed 56819

I got 'logstash-filter-date_jars.rb' from

# bundle exec rake vendor

I couldn't investigate further because I don't know what do you mean by "Date cancelled events cancelled events list ignores and return ignored cancelled".

Also test in release 3.1.9, same result.