s3:torture: fix password timestamp checks on NetBSD
[samba.git] / source4 / torture / rpc / samr.c
index 30e7e0889c476c9fbedd89b3311ac201d691d5b8..94c646a91c11c4711ca04cea463f946c3e58c48d 100644 (file)
@@ -2891,7 +2891,7 @@ static bool test_SetPassword_pwdlastset(struct dcerpc_pipe *p,
        struct dcerpc_pipe *np = NULL;
 
        if (torture_setting_bool(tctx, "samba3", false)) {
-               delay = 1000000;
+               delay = 999999;
                printf("Samba3 has second granularity, setting delay to: %d\n",
                        delay);
        }