summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/echo.c
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/rpc/echo.c')
-rw-r--r--source4/torture/rpc/echo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/rpc/echo.c b/source4/torture/rpc/echo.c
index dd30df7c0b..9a2e656bfe 100644
--- a/source4/torture/rpc/echo.c
+++ b/source4/torture/rpc/echo.c
@@ -263,7 +263,7 @@ static BOOL test_sleep(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx)
r[i].out.result, r[i].in.seconds, (uint_t)diff[i].tv_sec);
ret = False;
} else {
- if (r[i].out.result > diff[i].tv_sec) {
+ if (r[i].out.result > diff[i].tv_sec+1) {
printf("Failed - Sleeped for %u seconds (but reply takes only %u seconds)\n",
r[i].out.result, (uint_t)diff[i].tv_sec);
ret = False;