Zend Framework

Lucence commit broke Test-Suite

Details

  • Type: Bug Bug
  • Status: Resolved Resolved
  • Priority: Critical Critical
  • Resolution: Fixed
  • Affects Version/s: 1.9.5
  • Fix Version/s: 1.10.1
  • Component/s: Zend_Search_Lucene
  • Labels:
    None

Description

At r19060 I get those failures:

21) testSortingResult(Zend_Search_Lucene_SearchTest)
Failed asserting that <integer:7> matches expected value <integer:0>.
/home/benny/code/www/wsnetbeans/zf/trunk/tests/Zend/Search/Lucene/SearchTest.php:465

22) testLimitingResult(Zend_Search_Lucene_SearchTest)
Failed asserting that <integer:7> matches expected value <integer:0>.
/home/benny/code/www/wsnetbeans/zf/trunk/tests/Zend/Search/Lucene/SearchTest.php:487

23) testPraseQuery(Zend_Search_Lucene_Search23Test)
Failed asserting that <integer:4> matches expected value <integer:3>.
/home/benny/code/www/wsnetbeans/zf/trunk/tests/Zend/Search/Lucene/Search23Test.php:213

24) testQueryParserKeywordsHandlingTerm(Zend_Search_Lucene_Search23Test)
Failed asserting that <integer:9> matches expected value <integer:3>.
/home/benny/code/www/wsnetbeans/zf/trunk/tests/Zend/Search/Lucene/Search23Test.php:266

25) testWildcardQuery(Zend_Search_Lucene_Search23Test)
Failed asserting that <integer:9> matches expected value <integer:3>.
/home/benny/code/www/wsnetbeans/zf/trunk/tests/Zend/Search/Lucene/Search23Test.php:357

26) testFuzzyQuery(Zend_Search_Lucene_Search23Test)
Failed asserting that <integer:9> matches expected value <integer:3>.
/home/benny/code/www/wsnetbeans/zf/trunk/tests/Zend/Search/Lucene/Search23Test.php:386

27) testInclusiveRangeQuery(Zend_Search_Lucene_Search23Test)
Failed asserting that <integer:5> matches expected value <integer:3>.
/home/benny/code/www/wsnetbeans/zf/trunk/tests/Zend/Search/Lucene/Search23Test.php:412

28) testNonInclusiveRangeQuery(Zend_Search_Lucene_Search23Test)
Failed asserting that <integer:5> matches expected value <integer:3>.
/home/benny/code/www/wsnetbeans/zf/trunk/tests/Zend/Search/Lucene/Search23Test.php:432

29) testDefaultSearchField(Zend_Search_Lucene_Search23Test)
Failed asserting that <integer:5> matches expected value <integer:3>.
/home/benny/code/www/wsnetbeans/zf/trunk/tests/Zend/Search/Lucene/Search23Test.php:455

30) testSortingResult(Zend_Search_Lucene_Search23Test)
Failed asserting that <integer:4> matches expected value <integer:3>.
/home/benny/code/www/wsnetbeans/zf/trunk/tests/Zend/Search/Lucene/Search23Test.php:515

31) testSortingResultByScore(Zend_Search_Lucene_Search23Test)
Failed asserting that <integer:4> matches expected value <integer:3>.
/home/benny/code/www/wsnetbeans/zf/trunk/tests/Zend/Search/Lucene/Search23Test.php:534

32) testLimitingResult(Zend_Search_Lucene_Search23Test)
Failed asserting that <integer:7> matches expected value <integer:0>.
/home/benny/code/www/wsnetbeans/zf/trunk/tests/Zend/Search/Lucene/Search23Test.php:577

Issue Links

Activity

Hide
Alexander Veremyev added a comment -

Hi!

I can't reproduce it in my environment. It's probably fixed by some later commit or something happened with test index included into unit tests (something wrong with svn?).

Could you try to check out branch once again and pass Zend_Search_Lucene unit tests using this clear copy?

I'm closing the issue now, please reopen it if problem still exists.

Show
Alexander Veremyev added a comment - Hi! I can't reproduce it in my environment. It's probably fixed by some later commit or something happened with test index included into unit tests (something wrong with svn?). Could you try to check out branch once again and pass Zend_Search_Lucene unit tests using this clear copy? I'm closing the issue now, please reopen it if problem still exists.
Hide
Alexander Veremyev added a comment -

Reproduced problem in PHP 5.3.1 environment

Show
Alexander Veremyev added a comment - Reproduced problem in PHP 5.3.1 environment
Hide
Alexander Veremyev added a comment -

Problem is marked as duplicate of ZF-8809 issue (it's actualy a subset of ZF-8809)

Show
Alexander Veremyev added a comment - Problem is marked as duplicate of ZF-8809 issue (it's actualy a subset of ZF-8809)
Hide
Alexander Veremyev added a comment -

Fixed

Show
Alexander Veremyev added a comment - Fixed

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: