You are here: Foswiki>Tasks Web>Item9950 (04 Nov 2010, SvenDowideit)Edit Attach

Item9950: MongoDB unit test failures due to sort ordering

pencil
Priority: Normal
Current State: New
Released In: n/a
Target Release: n/a
Applies To: Extension
Component: MongoDBPlugin
Branches:
Reported By: SvenDowideit
Waiting For: Main.SvenDowideit
Last Change By: SvenDowideit
partially related to the other core ordering issue.

13 failures:
Fn_SEARCH::test_orderTopic

Expected:'QueryTopicThree (Gerald),OkTopic (WikiGuest),OkBTopic (WikiGuest),WebPreferences (WikiGuest),TestTopicSEARCH (WikiGuest),OkATopic (WikiGuest),QueryTopicTwo (admin),QueryTopic (simon)'
 But got:'QueryTopicThree (Gerald),OkATopic (WikiGuest),OkBTopic (WikiGuest),OkTopic (WikiGuest),TestTopicSEARCH (WikiGuest),WebPreferences (WikiGuest),QueryTopicTwo (admin),QueryTopic (simon)'
 at /home/sven/src/foswiki/core/lib/Unit/TestCase.pm line 271
   Unit::TestCase::assert_str_equals('Fn_SEARCH=HASH(0x352a008)', 'QueryTopicThree (Gerald),OkTopic (WikiGuest),OkBTopic (WikiGu...', 'QueryTopicThree (Gerald),OkATopic (WikiGuest),OkBTopic (WikiG...') called at /home/sven/src/foswiki/core/test/unit/Fn_SEARCH.pm line 4258
   Fn_SEARCH::test_orderTopic('Fn_SEARCH=HASH(0x352a008)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 383
   Unit::TestRunner::__ANON__() called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 379
   eval {...} called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 371
   Error::subs::try('CODE(0x5ee2d18)', 'HASH(0x5e4b308)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 402
   Unit::TestRunner::runOne('Fn_SEARCH=HASH(0x352a008)', 'Fn_SEARCH', undef) called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 306
   Unit::TestRunner::worker('Unit::TestRunner=HASH(0x2e917c0)', 'Fn_SEARCH', 'undef', 'worker_output.11059.Fn_SEARCH') called at /home/sven/src/foswiki/core/test/unit/../bin/TestRunner.pl line 117
 at /home/sven/src/foswiki/core/test/unit/FoswikiTestCase.pm line 40
   FoswikiTestCase::__ANON__('
Expected:\'QueryTopicThree (Gerald),OkTopic (WikiGuest),OkBT...') called at /home/sven/src/foswiki/core/lib/Unit/TestCase.pm line 206
   Unit::TestCase::assert('Fn_SEARCH=HASH(0x352a008)', '', 'Expected:\'QueryTopicThree (Gerald),OkTopic (WikiGuest),OkBTo...') called at /home/sven/src/foswiki/core/lib/Unit/TestCase.pm line 271
   Unit::TestCase::assert_str_equals('Fn_SEARCH=HASH(0x352a008)', 'QueryTopicThree (Gerald),OkTopic (WikiGuest),OkBTopic (WikiGu...', 'QueryTopicThree (Gerald),OkATopic (WikiGuest),OkBTopic (WikiG...') called at /home/sven/src/foswiki/core/test/unit/Fn_SEARCH.pm line 4258
   Fn_SEARCH::test_orderTopic('Fn_SEARCH=HASH(0x352a008)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 383
   Unit::TestRunner::__ANON__() called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 379
   eval {...} called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 371
   Error::subs::try('CODE(0x5ee2d18)', 'HASH(0x5e4b308)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 402
   Unit::TestRunner::runOne('Fn_SEARCH=HASH(0x352a008)', 'Fn_SEARCH', undef) called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 306
   Unit::TestRunner::worker('Unit::TestRunner=HASH(0x2e917c0)', 'Fn_SEARCH', 'undef', 'worker_output.11059.Fn_SEARCH') called

---------------------------
FormDefTests::test_searchForOptions

Expected:'SplodgeOne,SplodgeTwo'
 But got:''
 at /home/sven/src/foswiki/core/lib/Unit/TestCase.pm line 271
   Unit::TestCase::assert_str_equals('FormDefTests=HASH(0x79141c8)', 'SplodgeOne,SplodgeTwo', '') called at /home/sven/src/foswiki/core/test/unit/FormDefTests.pm line 214
   FormDefTests::test_searchForOptions('FormDefTests=HASH(0x79141c8)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 383
   Unit::TestRunner::__ANON__() called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 379
   eval {...} called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 371
   Error::subs::try('CODE(0x2043250)', 'HASH(0x7b25388)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 402
   Unit::TestRunner::runOne('FormDefTests=HASH(0x79141c8)', 'FormDefTests', undef) called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 137
   Unit::TestRunner::start('Unit::TestRunner=HASH(0x147b898)', 'FoswikiSuite.pm') called at ../bin/TestRunner.pl line 120
 at /home/sven/src/foswiki/core/test/unit/FoswikiTestCase.pm line 40
   FoswikiTestCase::__ANON__('\x{a}Expected:\'SplodgeOne,SplodgeTwo\'\x{a} But got:\'\'\x{a} at /home/s...') called at /home/sven/src/foswiki/core/lib/Unit/TestCase.pm line 206
   Unit::TestCase::assert('FormDefTests=HASH(0x79141c8)', '', 'Expected:\'SplodgeOne,SplodgeTwo\'\x{a} But got:\'\'\x{a}') called at /home/sven/src/foswiki/core/lib/Unit/TestCase.pm line 271
   Unit::TestCase::assert_str_equals('FormDefTests=HASH(0x79141c8)', 'SplodgeOne,SplodgeTwo', '') called at /home/sven/src/foswiki/core/test/unit/FormDefTests.pm line 214
   FormDefTests::test_searchForOptions('FormDefTests=HASH(0x79141c8)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 383
   Unit::TestRunner::__ANON__() called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 379
   eval {...} called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 371
   Error::subs::try('CODE(0x2043250)', 'HASH(0x7b25388)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 402
   Unit::TestRunner::runOne('FormDefTests=HASH(0x79141c8)', 'FormDefTests', undef) called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 137
   Unit::TestRunner::start('Unit::TestRunner=HASH(0x147b898)', 'FoswikiSuite.pm') called

---------------------------
FormDefTests::test_Item6082

Expected:'SplodgeOne;Blah'
 But got:''
 at /home/sven/src/foswiki/core/lib/Unit/TestCase.pm line 271
   Unit::TestCase::assert_str_equals('FormDefTests=HASH(0x79141c8)', 'SplodgeOne;Blah', '') called at /home/sven/src/foswiki/core/test/unit/FormDefTests.pm line 243
   FormDefTests::test_Item6082('FormDefTests=HASH(0x79141c8)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 383
   Unit::TestRunner::__ANON__() called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 379
   eval {...} called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 371
   Error::subs::try('CODE(0x2048bd8)', 'HASH(0x7ab7818)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 402
   Unit::TestRunner::runOne('FormDefTests=HASH(0x79141c8)', 'FormDefTests', undef) called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 137
   Unit::TestRunner::start('Unit::TestRunner=HASH(0x147b898)', 'FoswikiSuite.pm') called at ../bin/TestRunner.pl line 120
 at /home/sven/src/foswiki/core/test/unit/FoswikiTestCase.pm line 40
   FoswikiTestCase::__ANON__('\x{a}Expected:\'SplodgeOne;Blah\'\x{a} But got:\'\'\x{a} at /home/sven/sr...') called at /home/sven/src/foswiki/core/lib/Unit/TestCase.pm line 206
   Unit::TestCase::assert('FormDefTests=HASH(0x79141c8)', '', 'Expected:\'SplodgeOne;Blah\'\x{a} But got:\'\'\x{a}') called at /home/sven/src/foswiki/core/lib/Unit/TestCase.pm line 271
   Unit::TestCase::assert_str_equals('FormDefTests=HASH(0x79141c8)', 'SplodgeOne;Blah', '') called at /home/sven/src/foswiki/core/test/unit/FormDefTests.pm line 243
   FormDefTests::test_Item6082('FormDefTests=HASH(0x79141c8)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 383
   Unit::TestRunner::__ANON__() called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 379
   eval {...} called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 371
   Error::subs::try('CODE(0x2048bd8)', 'HASH(0x7ab7818)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 402
   Unit::TestRunner::runOne('FormDefTests=HASH(0x79141c8)', 'FormDefTests', undef) called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 137
   Unit::TestRunner::start('Unit::TestRunner=HASH(0x147b898)', 'FoswikiSuite.pm') called

---------------------------
QueryTests::verify_length_BruteForceQuery

Expected scalar 5, got 6 for length info in QueryTests /home/sven/src/foswiki/core/test/unit/QueryTests.pm 346 at /home/sven/src/foswiki/core/lib/Unit/TestCase.pm line 271
   Unit::TestCase::assert_str_equals('QueryTests=HASH(0x13f6ab18)', 5, 6, 'Expected scalar 5, got 6 for length info in QueryTests /home/...') called at /home/sven/src/foswiki/core/test/unit/QueryTests.pm line 171
   QueryTests::check('QueryTests=HASH(0x13f6ab18)', 'length info', 'eval', 5) called at /home/sven/src/foswiki/core/test/unit/QueryTests.pm line 346
   QueryTests::verify_length('QueryTests=HASH(0x13f6ab18)') called at (eval 787945) line 4
   Unit::TestCase::__ANON__('QueryTests=HASH(0x13f6ab18)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 383
   Unit::TestRunner::__ANON__() called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 379
   eval {...} called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 371
   Error::subs::try('CODE(0x14267ff0)', 'HASH(0x1420a810)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 402
   Unit::TestRunner::runOne('QueryTests=HASH(0x13f6ab18)', 'QueryTests', undef) called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 137
   Unit::TestRunner::start('Unit::TestRunner=HASH(0x147b898)', 'FoswikiSuite.pm') called

---------------------------
QueryTests::verify_length_MongoDBQuery

Expected scalar 5, got 6 for length info in QueryTests /home/sven/src/foswiki/core/test/unit/QueryTests.pm 346 at /home/sven/src/foswiki/core/lib/Unit/TestCase.pm line 271
   Unit::TestCase::assert_str_equals('QueryTests=HASH(0x13f6ab18)', 5, 6, 'Expected scalar 5, got 6 for length info in QueryTests /home/...') called at /home/sven/src/foswiki/core/test/unit/QueryTests.pm line 171
   QueryTests::check('QueryTests=HASH(0x13f6ab18)', 'length info', 'eval', 5) called at /home/sven/src/foswiki/core/test/unit/QueryTests.pm line 346
   QueryTests::verify_length('QueryTests=HASH(0x13f6ab18)') called at (eval 787968) line 4
   Unit::TestCase::__ANON__('QueryTests=HASH(0x13f6ab18)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 383
   Unit::TestRunner::__ANON__() called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 379
   eval {...} called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 371
   Error::subs::try('CODE(0x144acaf0)', 'HASH(0x143bb940)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 402
   Unit::TestRunner::runOne('QueryTests=HASH(0x13f6ab18)', 'QueryTests', undef) called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 137
   Unit::TestRunner::start('Unit::TestRunner=HASH(0x147b898)', 'FoswikiSuite.pm') called

---------------------------
SemiAutomaticTestCaseTests::test_TestCaseAutoFormattedSearch

TestCaseAutoFormattedSearch FAILED - output in TestCaseAutoFormattedSearch.html and TestCaseAutoFormattedSearch_run.html at /home/sven/src/foswiki/core/test/unit/SemiAutomaticTestCaseTests.pm line 93
   SemiAutomaticTestCaseTests::run_testcase('SemiAutomaticTestCaseTests=HASH(0x163f4f60)', 'TestCaseAutoFormattedSearch') called at /home/sven/src/foswiki/core/test/unit/SemiAutomaticTestCaseTests.pm line 55
   SemiAutomaticTestCaseTests::__ANON__('SemiAutomaticTestCaseTests=HASH(0x163f4f60)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 383
   Unit::TestRunner::__ANON__() called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 379
   eval {...} called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 371
   Error::subs::try('CODE(0x165b0470)', 'HASH(0x16679ff8)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 402
   Unit::TestRunner::runOne('SemiAutomaticTestCaseTests=HASH(0x163f4f60)', 'SemiAutomaticTestCaseTests', undef) called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 137
   Unit::TestRunner::start('Unit::TestRunner=HASH(0x147b898)', 'FoswikiSuite.pm') called

---------------------------
SemiAutomaticTestCaseTests::test_TestCaseAutoSearchOrder

TestCaseAutoSearchOrder FAILED - output in TestCaseAutoSearchOrder.html and TestCaseAutoSearchOrder_run.html at /home/sven/src/foswiki/core/test/unit/SemiAutomaticTestCaseTests.pm line 93
   SemiAutomaticTestCaseTests::run_testcase('SemiAutomaticTestCaseTests=HASH(0x163f4f60)', 'TestCaseAutoSearchOrder') called at /home/sven/src/foswiki/core/test/unit/SemiAutomaticTestCaseTests.pm line 55
   SemiAutomaticTestCaseTests::__ANON__('SemiAutomaticTestCaseTests=HASH(0x163f4f60)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 383
   Unit::TestRunner::__ANON__() called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 379
   eval {...} called at /home/sven/src/foswiki/core/lib/CPAN/lib/Error.pm line 371
   Error::subs::try('CODE(0x176605d0)', 'HASH(0x17ab1690)') called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 402
   Unit::TestRunner::runOne('SemiAutomaticTestCaseTests=HASH(0x163f4f60)', 'SemiAutomaticTestCaseTests', undef) called at /home/sven/src/foswiki/core/lib/Unit/TestRunner.pm line 137
   Unit::TestRunner::start('Unit::TestRunner=HASH(0x147b898)', 'FoswikiSuite.pm') called

-- SvenDowideit - 04 Nov 2010

 
Topic revision: r1 - 04 Nov 2010, SvenDowideit - This page was cached on 08 Aug 2020 - 23:54.

The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy