projects
/
check_postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e371eb8
)
t/02_replicate_row.t: Allow for some variation in the replication time
author
Christoph Berg
<
[email protected]
>
Tue, 7 Jun 2016 18:54:02 +0000
(20:54 +0200)
committer
Christoph Berg
<
[email protected]
>
Tue, 7 Jun 2016 18:54:02 +0000
(20:54 +0200)
t/02_replicate_row.t
patch
|
blob
|
blame
|
history
diff --git
a/t/02_replicate_row.t
b/t/02_replicate_row.t
index 7df6354dbc0d2a6a135a479800c0c732df0e5723..84f610807cd1b3d97e7c2db86ba225bcd212c17d 100644
(file)
--- 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'),
- q
q{1
\n0\n\n\n}, $t);
+
like
($cp->run('DB2replicate-row', '-c 20 --output=MRTG -repinfo=reptest,id,1,foo,yin,yang'),
+ q
r{^[12]
\n0\n\n\n}, $t);
}
else {
usleep 500_000; # 0.5s