diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-02-27 10:16:56 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-03-01 18:45:21 +0100 |
commit | 522e4f3d2bcd260f7037fbafd4340a9a4513c89d (patch) | |
tree | cccd455d8b19921a53790fc4824549e484466670 | |
parent | 340bcf646baf0a01ca55f66e787d1d49ddea6086 (diff) | |
download | samba-522e4f3d2bcd260f7037fbafd4340a9a4513c89d.tar.gz samba-522e4f3d2bcd260f7037fbafd4340a9a4513c89d.tar.bz2 samba-522e4f3d2bcd260f7037fbafd4340a9a4513c89d.zip |
s4:RPC-ECHO: don't ignore errors in the Sleep test now that we support async rpc over ncacn_np
metze
-rw-r--r-- | source4/torture/rpc/echo.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/rpc/echo.c b/source4/torture/rpc/echo.c index 2321500ca5..e0ee8a580e 100644 --- a/source4/torture/rpc/echo.c +++ b/source4/torture/rpc/echo.c @@ -289,9 +289,9 @@ static bool test_sleep(struct torture_context *tctx, torture_comment(tctx, "Slept for %u seconds (reply takes %u.%06u seconds - ok)\n", r[i].out.result, (unsigned int)diff[i].tv_sec, (unsigned int)diff[i].tv_usec); } else { - torture_comment(tctx, "(Failed) - Not async - Slept for %u seconds (but reply takes %u.%06u seconds)", - r[i].out.result, (unsigned int)diff[i].tv_sec, (unsigned int)diff[i].tv_usec); - /* TODO: let the test fail here, when we support async rpc on ncacn_np */ + torture_fail(tctx, talloc_asprintf(tctx, + "(Failed) - Not async - Slept for %u seconds (but reply takes %u.%06u seconds)\n", + r[i].out.result, (unsigned int)diff[i].tv_sec, (unsigned int)diff[i].tv_usec)); } } } |