mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-23 12:47:56 +00:00
Allow initial values to be zero for ReplicaLagLimiter::new(). Return 1/0/death from ReplicaLagLimiter::wait().
This commit is contained in:
@@ -197,8 +197,8 @@ $rll = new ReplicaLagLimiter(
|
||||
@lag = (5, 0, 0);
|
||||
is(
|
||||
$rll->wait(),
|
||||
1,
|
||||
"wait() returns 1 despite timeout if continue=yes"
|
||||
0,
|
||||
"wait() returns 0 if timeout and continue=yes"
|
||||
);
|
||||
|
||||
# #############################################################################
|
||||
|
Reference in New Issue
Block a user