]> git.vpit.fr Git - perl/modules/Variable-Magic.git/blobdiff - t/09-load-threads.t
Remove the done_testing() comment in t/09-load-threads.t
[perl/modules/Variable-Magic.git] / t / 09-load-threads.t
index 65a5d2d09a7d728449a44d80f3c222bdb5139b4f..cd8cfbcee1c3c9527476926fff8f75462a008d66 100644 (file)
@@ -178,14 +178,12 @@ sub sync_master {
 
  LOCK: {
   lock $locks_up[$id];
-  for (1 .. 100) {
-   my $timeout = time() + 2;
-   until ($locks_up[$id] == $peers) {
-    if (cond_timedwait $locks_up[$id], $timeout) {
-     last LOCK;
-    } else {
-     return 0;
-    }
+  my $timeout = time() + 10;
+  until ($locks_up[$id] == $peers) {
+   if (cond_timedwait $locks_up[$id], $timeout) {
+    last LOCK;
+   } else {
+    return 0;
    }
   }
  }
@@ -423,6 +421,4 @@ is_loaded 0, 'main body, after outliving clone';
 do_load;
 is_loaded 1, 'main body, loaded at end';
 
-# perl 5.13.4 comes a Test::More more recent than 0.88, so it must have
-# done_testing() and Test::Leaner will not replace it by a croaking stub.
 done_testing();