You are here: Foswiki>Tasks Web>Item9145 (13 Jun 2010, SvenDowideit)Edit Attach

Item9145: running Fn_SEARCH on windows - strawberry perl 5.12 does not run more than 288 tests

pencil
Priority: Urgent
Current State: Closed
Released In: 1.1.0
Target Release: minor
Applies To: Engine
Component:
Branches:
Reported By: SvenDowideit
Waiting For:
Last Change By: SvenDowideit
feels alot like we're running out of some resource.

ok
ok
        286 Fn_SEARCH::verify_no_header_with_footer_with_separator_with_results_BruteForceQuery
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
ok
Bareword found where operator expected at (eval 127730) line 245, near "Fn_SEARCH"
  (Might be a runaway multi-line "" string starting on line 105)
 at C:/src/svn.foswiki.org/trunk/core/test/unit/FoswikiTestCase.pm line 38
        FoswikiTestCase::__ANON__('Bareword found where operator expected at (eval 127730) line ...') called at C:\src\s
vn.foswiki.org\trunk\core\lib/Foswiki.pm line 135
        Foswiki::__ANON__('Bareword found where operator expected at (eval 127730) line ...') called at (eval 127730) li
ne 245
        eval '$completed = 1;
# Fn_SEARCH::test_validatepattern
    $passes++;
# Fn_SEARCH::test_summary_searchcontext_long_word_search
    $passes++;
# Fn_SEARCH::test_badpattern
    $passes++;
# Fn_SEARCH::test_badQuery1
    $passes++;
# Fn_SEARCH::test_no_format_no_shit
    $passes++;
# Fn_SEARCH::test_summary_default_word_search
    $passes++;
# Fn_SEARCH::test_getTopicList
    push( @{ $this->{failures} }, "Fn_SEARCH\\:\\:test_getTopicList\\n\\
Different\\ size\\ arrays\\:\\ case\\ sensitive\\ okatopic\\ topic\\ 1\\ at\\ C\\:\\\\src\\\\svn\\.foswiki\\.org\\\\trun
k\\\\core\\\\lib\\/Unit\\/TestCase\\.pm\\ line\\ 220\\
\\      Unit\\:\\:TestCase\\:\\:assert_equals\\(\\\'Fn_SEARCH\\=HASH\\(0x155476c\\)\\\'\\,\\ \\-1\\,\\ 0\\,\\ \\\'Differ
ent\\ size\\ arrays\\:\\ case\\ sensitive\\ okatopic\\ topic\\ 1\\\'\\)\\ called\\ at\\ C\\:\\\\src\\\\svn\\.foswiki\\.o
rg\\\\trunk\\\\core\\\\lib\\/Unit\\/TestCase\\.pm\\ line\\ 404\\
\\      Unit\\:\\:TestCase\\:\\:assert_deep_equals\\(\\\'Fn_SEARCH\\=HASH\\(0x155476c\\)\\\'\\,\\ \\\'ARRAY\\(0x1b0b2cc\
\)\\\'\\,\\ \\\'ARRAY\\(0x1e53e24\\)\\\'\\,\\ \\\'case\\ sensitive\\ okatopic\\ topic\\ 1\\\'\\)\\ called\\ at\\ C\\:\\/
src\\/svn\\.foswiki\\.org\\/trunk\\/core\\/test\\/unit\\/Fn_SEARCH\\.pm\\ line\\ 1640\\
\\      Fn_SEARCH\\:\\:test_getTopicList\\(\\\'Fn_SEARCH\\=HASH\\(0x155476c\\)\\\'\\)\\ called\\ at\\ C\\:\\\\src\\\\svn
\\.foswiki\\.org\\\\trunk\\\\core\\\\lib\\/Unit\\/TestRunner\\.pm\\ line\\ 318\\
\\      Unit\\:\\:TestRunner\\:\\:__ANON__\\(\\)\\ called\\ at\\ C\\:\\/src\\/svn\\.foswiki\\.org\\/trunk\\/core\\/lib\\
/CPAN\\/lib\\/Error\\.pm\\ line\\ 379\\
\\      eval\\ \\{\\.\\.\\.\\}\\ called\\ at\\ C\\:\\/src\\/svn\\.foswiki\\.org\\/trunk\\/core\\/lib\\/CPAN\\/lib\\/Erro
r\\.pm\\ line\\ 371\\
\\      Error\\:\\:subs\\:\\:try\\(\\\'CODE\\(0xc767a4\\)\\\'\\,\\ \\\'HASH\\(0x1645f04\\)\\\'\\)\\ called\\ at\\ C\\:\\
\\src\\\\svn\\.foswiki\\.org\\\\trunk\\\\core\\\\lib\\/Unit\\/TestRunner\\.pm\\ line\\ 337\\
\\      Unit\\:\\:TestRunner\\:\\:runOne\\(\\\'Fn_SEARCH\\=HASH\\(0x155476c\\)\\\'\\,\\ \\\'Fn_SEARCH\\\'\\,\\ undef\\)\
\ called\\ at\\ C\\:\\\\src\\\\svn\\.foswiki\\.org\\\\trunk\\\\core\\\\lib\\/Unit\\/TestRunner\\.pm\\ line\\ 124\\
\\      Unit\\:\\:TestRunner\\:\\:start\\(\\\'Unit\\:\\:TestRunner\\=HASH\\(0x1029b74\\)\\\'\\,\\ \\\'Fn_SEARCH\\\'\\)\\
 called\\ at\\ C\\:\\\\src\\\\svn\\.foswiki\\.org\\\\trunk\\\\core\\\\test\\\\bin\\\\TestRunner\\.pl\\ line\\ 120\\
\\ at\\ C\\:\\/src\\/svn\\.foswiki\\.org\\/trunk\\/core\\/test\\/unit\\/FoswikiTestCase\\.pm\\ line\\ 38\\

-- SvenDowideit - 12 Jun 2010

In case it helps, dealing with Windows XP 32-bit at work for a completely unrelated piece of software,

Came across this note about there being a default limit of 512 open files

-- PaulHarvey - 12 Jun 2010

oooo, useful... I wonder if there's a Devel::Leak::FileHandle smile

-- SvenDowideit - 12 Jun 2010

I replaced some archaic open(FH... with open(my $var... and that got us to 300 tests, and then later Crawford fixed the root issue - the TestRunner.pm had a bug when there were unexpected successes

-- SvenDowideit - 13 Jun 2010
 

ItemTemplate edit

Summary running Fn_SEARCH on windows - strawberry perl 5.12 does not run more than 288 tests
ReportedBy SvenDowideit
Codebase trunk
SVN Range
AppliesTo Engine
Component
Priority Urgent
CurrentState Closed
WaitingFor
Checkins distro:3d4ee3ed6e40 distro:85c251f9dcd2 distro:dfaac3315348
TargetRelease minor
ReleasedIn 1.1.0
Topic revision: r7 - 13 Jun 2010, SvenDowideit
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