librelist archives

« back to archive

test_sets__0_while_working(Resque__Worker) failing

test_sets__0_while_working(Resque__Worker) failing

From:
Thibaut Barrère
Date:
2010-04-17 @ 08:17
Hi,

I ran the Resque test suite this morning and noticed this:

  1) Failure:
test_sets__0_while_working(Resque__Worker)
    [test/worker_test.rb:219:in `test_sets__0_while_working'
     /Users/thbar/git/resque/test/../lib/resque/worker.rb:165:in `perform'
     /Users/thbar/git/resque/test/../lib/resque/worker.rb:124:in `work'
     /Users/thbar/git/resque/test/../lib/resque/worker.rb:110:in `loop'
     /Users/thbar/git/resque/test/../lib/resque/worker.rb:110:in `work'
     test/worker_test.rb:217:in `test_sets__0_while_working']:
<"resque-1.8.0: Processing jobs since 1271491868"> expected but was
<"resque-1.8.0: Processing jobs since 12">.

My setup:
- ruby 1.8.7 (2009-06-12 patchlevel 174) [i686-darwin10.0.0]
- redis 1.2.1
- resque at 84077cce

Is it a known issue ? Should I file a bug for this ?

cheers,

-- Thibaut

Re: [resque] test_sets__0_while_working(Resque__Worker) failing

From:
Philippe Lafoucrière
Date:
2010-04-17 @ 10:32
On Sat, Apr 17, 2010 at 10:17 AM, Thibaut Barrère
<thibaut.barrere@gmail.com> wrote:
> Is it a known issue ? Should I file a bug for this ?

No problem here ("33 tests, 52 assertions, 0 failures, 0 errors")

- ruby 1.8.7 (2009-06-12 patchlevel 173) [i686-darwin10.0.0]
- redis 1.2.6
- resque at 84077cce

Re: [resque] test_sets__0_while_working(Resque__Worker) failing

From:
Chris Wanstrath
Date:
2010-04-21 @ 20:54
2010/4/17 Philippe Lafoucrière <philippe.lafoucriere@gmail.com>:

> On Sat, Apr 17, 2010 at 10:17 AM, Thibaut Barrère
> <thibaut.barrere@gmail.com> wrote:
>> Is it a known issue ? Should I file a bug for this ?
>
> No problem here ("33 tests, 52 assertions, 0 failures, 0 errors")
>
> - ruby 1.8.7 (2009-06-12 patchlevel 173) [i686-darwin10.0.0]
> - redis 1.2.6
> - resque at 84077cce

I'm also getting no failures, but I don't have patchlevel 174
installed. Sounds like it could be an issue with your version of MRI.

Chris

Re: [resque] test_sets__0_while_working(Resque__Worker) failing

From:
Thibaut Barrère
Date:
2010-04-21 @ 21:00
HI guys,

thanks for the feedback - I'll try to pinpoint the issue, see if it's maybe
linked to another difference in configuration (eg: redis-namespace version
etc).

I'll keep you posted if I find anything,

-- Thibaut