bug 5309: tweak so that background progress doesn't exit immediately
authorGalen Charlton <gmcharlt@gmail.com>
Tue, 26 Oct 2010 16:14:46 +0000 (12:14 -0400)
committerGalen Charlton <gmcharlt@gmail.com>
Tue, 26 Oct 2010 16:14:46 +0000 (12:14 -0400)
Signed-off-by: Galen Charlton <gmcharlt@gmail.com>
test/progressbarsubmit.pl

index 65e1dfb..22b0a41 100755 (executable)
@@ -84,8 +84,8 @@ if ($completedJobID) {
             close STDERR;
 
             foreach (1..100) {
-                sleep 1;
                 $job->progress( $_ );
+                sleep 1;
             }
             $job->finish();
         } else {