Test timer tweak
authorGreg Sabino Mullane <greg@endpoint.com>
Thu, 26 Jun 2014 17:29:11 +0000 (13:29 -0400)
committerGreg Sabino Mullane <greg@endpoint.com>
Thu, 26 Jun 2014 17:29:11 +0000 (13:29 -0400)
t/20-postgres.t

index c7078cd3b86fbf4d03cc1488cfbd26e7a27cbdbd..f58a14a7a96b7920fa7d6554f0f1316d2bf46c62 100644 (file)
@@ -229,7 +229,7 @@ $bct->add_row_to_database('A', 3);
 $bct->add_row_to_database('B', 4);
 
 ## Kick off the sync.
-my $timer_regex = qr/\[0\s*s\]\s+(?:[\b]{6}\[\d+\s*s\]\s+)*/;
+my $timer_regex = qr/\[01\s*s\]\s+(?:[\b]{6}\[\d+\s*s\]\s+)*/;
 like $bct->ctl('bucardo kick sync pgtest5 0'),
     qr/^Kick\s+pgtest5:\s+${timer_regex}DONE!/,
     'Kick pgtest5' or die 'Sync failed, no point continuing';