Perlbal - buffer_on_rate: buffer file exists test failure

This is Interesting: Free IT Magazines  
Home > Archive > Perlbal > June 2006 > buffer_on_rate: buffer file exists test failure





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author buffer_on_rate: buffer file exists test failure
Jay Buffington

2006-06-08, 1:11 am

I'm trying to install Perlbal 1.41 and one test is failing:

[jay@zwa1 Perlbal-1.41]$ PERL t/45-buffereduploads.t

*snip*
ok 16 - clean_on_early_close: no file
not ok 17 - buffer_on_rate: buffer file exists
# Failed test (t/45-buffereduploads.t at line 214)
ok 18 - buffer_on_rate: good response
*snip*

[jay@zwa1 ~]$ cat /etc/redhat-release
Red Hat Enterprise Linux ES release 4 (Nahant Update 3)
[jay@zwa1 ~]$ PERL -v

This is perl, v5.8.5 built for i386-linux-thread-multi

I ran the test several times one after another and it succeeded once.
Is it possible that the directory is getting deleted too quickly?

All other test succeeded. I also tried with the latest version from
svn and got the same failure.

Also, in my Perlbal config I have:

SET buffer_uploads = true
SET buffer_upload_threshold_rate = 0
SET buffer_upload_threshold_size = 0
SET buffer_upload_threshold_time = 5

Since I'm not using buffer on rate, does it matter that that test failed?

Thanks,
Jay

Brad Fitzpatrick

2006-06-08, 1:11 am

If all the other tests pass, I wouldn't worry about that one. It's likely
just a timing bug in the test, as depressing as that is. (I hate
unreliable tests....)

- Brad


On Wed, 7 Jun 2006, Jay Buffington wrote:

> I'm trying to install Perlbal 1.41 and one test is failing:
>
> [jay@zwa1 Perlbal-1.41]$ PERL t/45-buffereduploads.t
>
> *snip*
> ok 16 - clean_on_early_close: no file
> not ok 17 - buffer_on_rate: buffer file exists
> # Failed test (t/45-buffereduploads.t at line 214)
> ok 18 - buffer_on_rate: good response
> *snip*
>
> [jay@zwa1 ~]$ cat /etc/redhat-release
> Red Hat Enterprise Linux ES release 4 (Nahant Update 3)
> [jay@zwa1 ~]$ PERL -v
>
> This is perl, v5.8.5 built for i386-linux-thread-multi
>
> I ran the test several times one after another and it succeeded once.
> Is it possible that the directory is getting deleted too quickly?
>
> All other test succeeded. I also tried with the latest version from
> svn and got the same failure.
>
> Also, in my Perlbal config I have:
>
> SET buffer_uploads = true
> SET buffer_upload_threshold_rate = 0
> SET buffer_upload_threshold_size = 0
> SET buffer_upload_threshold_time = 5
>
> Since I'm not using buffer on rate, does it matter that that test failed?
>
> Thanks,
> Jay
>
>


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com