Opened 15 years ago

Closed 15 years ago

Last modified 13 years ago

#365 closed defect (fixed)

queryparser test does not always pass...

Reported by: Peter Kelm Owned by: Olly Betts
Priority: normal Milestone: 1.0.13
Component: Test Suite Version: SVN trunk
Severity: normal Keywords:
Cc: Blocked By:
Blocking: Operating System: Microsoft Windows

Description

On my machine I sometimes get failure messages when running queryparsertest. It seems that the "qp_scale1" result varies with processor load.

This is what I got when running the test ten times in a row (five passes, five failures):

Running test: queryparser1... ok
Running test: qp_default_op1... ok
Running test: qp_odd_chars1... ok
Running test: qp_flag_wildcard1... SKIPPED
Running test: qp_flag_wildcard2... SKIPPED
Running test: qp_flag_partial1... SKIPPED
Running test: qp_flag_bool_any_case1... ok
Running test: qp_stopper1... ok
Running test: qp_flag_pure_not1... ok
Running test: qp_unstem_boolean_prefix... ok
Running test: qp_default_prefix1... ok
Running test: qp_default_prefix2... ok
Running test: value_range_serialise1... ok
Running test: qp_value_range1... ok
Running test: qp_value_range2... ok
Running test: qp_value_range3... SKIPPED
Running test: qp_value_daterange1... ok
Running test: qp_value_customrange1... ok
Running test: qp_stoplist1... ok
Running test: qp_spell1... ok
Running test: qp_spell2... ok
Running test: qp_synonym1... ok
Running test: qp_synonym2... ok
Running test: qp_synonym3... ok
Running test: qp_stem_all1... ok
Running test: qp_scale1...
small=210s, large=-909s
small=90s, large=71s
small=210s, large=160s
small=-778s, large=70s
 FAILED
Running test: queryparser1... ok
...
Running test: qp_scale1...
small=180s, large=-949s
small=90s, large=70s
small=220s, large=161s
small=-789s, large=80s
 FAILED
Running test: queryparser1... ok
...
Running test: qp_scale1... ok
Running test: queryparser1... ok
...
Running test: qp_scale1... ok
Running test: queryparser1... ok
...
Running test: qp_scale1...
small=191s, large=60s
small=90s, large=70s
small=-779s, large=161s
 FAILED
Running test: queryparser1... ok
...
Running test: qp_scale1... ok
Running test: queryparser1... ok
...
Running test: qp_scale1... ok
Running test: queryparser1... ok
...
Running test: qp_scale1... ok
Running test: queryparser1... ok
...
Running test: qp_scale1...
small=-778s, large=100s
 FAILED
Running test: queryparser1... ok
...
Running test: qp_scale1...
small=221s, large=50s
small=-909s, large=70s
 FAILED

Using xapian trunk-12598 on Windows XP, MSVC 2008 Express

Change History (2)

comment:1 by Olly Betts, 15 years ago

Milestone: 1.1.1
Resolution: fixed
Status: newclosed

Ah, there's a typo in some new code which nobody's tested on MS Windows so far. Should be fixed in trunk r12668.

comment:2 by Olly Betts, 15 years ago

Milestone: 1.1.11.0.13

Backported for 1.0.13 in r12730.

Note: See TracTickets for help on using tickets.