Quick sleep in this test
authorGreg Sabino Mullane <greg@endpoint.com>
Thu, 5 Jan 2012 21:48:27 +0000 (16:48 -0500)
committerGreg Sabino Mullane <greg@endpoint.com>
Thu, 5 Jan 2012 21:48:27 +0000 (16:48 -0500)
t/10-fullcopy.t

index 20905c75b7d08981f8c7fe73f1893fe5f7b546b1..76de4ed83a8d6c0876eb043729588d1d8edf28ec 100644 (file)
@@ -249,6 +249,10 @@ for my $table (sort keys %tabletype) {
     bc_deeply($res, $dbhD, $sql{select}{$table}, $t);
 
 }
+$dbhA->commit();
+$dbhB->commit();
+$dbhC->commit();
+$dbhD->commit();
 
 for my $table (keys %tabletype) {
     $sth{update}{$table}{A}->execute(80);
@@ -262,6 +266,7 @@ for my $table (keys %tabletype) {
 }
 $dbhB->commit();
 
+sleep 1;
 ## Kick it to get everything synced
 $bct->ctl('bucardo kick fctest 0');