junit.framework.AssertionFailedError: expected:<1> but was:<0>

Apache's JIRA Issue Tracker | Shai Erera | 8 years ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.

Root Cause Analysis

  1. junit.framework.AssertionFailedError

    expected:<1> but was:<0>

    at org.apache.lucene.benchmark.byTask.feeds.LineDocMakerTest.doIndexAndSearchTest()
  2. Lucene Benchmark
    LineDocMakerTest.testBZip2WithBzipCompressionDisabled
    1. org.apache.lucene.benchmark.byTask.feeds.LineDocMakerTest.doIndexAndSearchTest(LineDocMakerTest.java:96)
    2. org.apache.lucene.benchmark.byTask.feeds.LineDocMakerTest.testBZip2WithBzipCompressionDisabled(LineDocMakerTest.java:119)
    2 frames