[Xapian-tickets] [Xapian] #308: qp_stem_scale1 sometimes fails on Windows

Xapian nobody at xapian.org
Thu Oct 23 18:38:19 BST 2008


#308: qp_stem_scale1 sometimes fails on Windows
-------------------------------+--------------------------------------------
 Reporter:  charliejuggler     |        Owner:  olly    
     Type:  defect             |       Status:  assigned
 Priority:  normal             |    Milestone:  1.0.9   
Component:  Test Suite         |      Version:  1.0.8   
 Severity:  normal             |   Resolution:          
 Keywords:                     |    Blockedby:          
 Platform:  Microsoft Windows  |     Blocking:          
-------------------------------+--------------------------------------------
Changes (by olly):

  * status:  new => assigned
  * milestone:  => 1.0.9


Old description:

> About once every three runs I get
>
> Running test: qp_stem_scale1...
> defflags: small=0s, large=0.016s
> .\queryparsertest.cc:1802: ((time2) < (time1 * 2))
> Expected `time2' to be less than than `time1 * 2': were 0.016 and 0
>  FAILED
>
> and once I got
>
> defflags: small=0.016s, large=0.015s
> synflags: small=0.016s, large=0s
> synflags: small=0.015s, large=0.032s
>  FAILED
>
> Looks like another granularity issue.

New description:

 About once every three runs I get

 {{{
 Running test: qp_stem_scale1...
 defflags: small=0s, large=0.016s
 .\queryparsertest.cc:1802: ((time2) < (time1 * 2))
 Expected `time2' to be less than than `time1 * 2': were 0.016 and 0
  FAILED
 }}}

 and once I got

 {{{
 defflags: small=0.016s, large=0.015s
 synflags: small=0.016s, large=0s
 synflags: small=0.015s, large=0.032s
  FAILED
 }}}

 Looks like another granularity issue.

--

Comment:

 Yes.  Interestingly, the granularity isn't 1 second as at least I had
 assumed, but 0.015 or 0.016 seocnds.

 Can you try the patch I'll attach shortly (with branches/1.0)?

-- 
Ticket URL: <http://trac.xapian.org/ticket/308#comment:1>
Xapian <http://xapian.org/>
Xapian



More information about the Xapian-tickets mailing list