Permalink
Browse files

t/40-httpfile.t: speedup test with working clear_cache

This branch is now rebased against my latest clear_cache
which allows allows much faster metadata updates for testing.
  • Loading branch information...
1 parent 380f21c commit cc3a551b65dfe5003aafa683cb7f7aa4d213b40e Eric Wong committed with dormando Nov 24, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 t/40-httpfile.t
View
@@ -63,9 +63,9 @@ ok($tmptrack->mogadm("device", "add", "hostA", 1), "created dev1 on hostA");
{
my $was = $be->{timeout}; # can't use local on phash :(
$be->{timeout} = 10;
- ok($be->do_request("do_monitor_round", {}), "waited for monitor")
+ ok($be->do_request("clear_cache", {}), "waited for monitor")
or die "Failed to wait for monitor";
- ok($be->do_request("do_monitor_round", {}), "waited for monitor")
+ ok($be->do_request("clear_cache", {}), "waited for monitor")
or die "Failed to wait for monitor";
$be->{timeout} = $was;
}

0 comments on commit cc3a551

Please sign in to comment.