diff options
author | Christoph Berg | 2016-06-07 18:54:02 +0000 |
---|---|---|
committer | Christoph Berg | 2016-06-07 18:54:02 +0000 |
commit | fd9eb2820b5bc7a45b9137c2c0e0d9a55141cb67 (patch) | |
tree | 3c7e0a0932c05e7736ad86fd3a7e19d8e782b54a | |
parent | e371eb86b4de4a992b94cdd8fe9b1af0932fea33 (diff) |
t/02_replicate_row.t: Allow for some variation in the replication time
-rw-r--r-- | t/02_replicate_row.t | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/t/02_replicate_row.t b/t/02_replicate_row.t index 7df6354db..84f610807 100644 --- a/t/02_replicate_row.t +++ b/t/02_replicate_row.t @@ -141,8 +141,8 @@ else { $t=qq{$S works when rows match, with MRTG output}; $dbh->commit(); if (fork) { - is ($cp->run('DB2replicate-row', '-c 20 --output=MRTG -repinfo=reptest,id,1,foo,yin,yang'), - qq{1\n0\n\n\n}, $t); + like ($cp->run('DB2replicate-row', '-c 20 --output=MRTG -repinfo=reptest,id,1,foo,yin,yang'), + qr{^[12]\n0\n\n\n}, $t); } else { usleep 500_000; # 0.5s |