summaryrefslogtreecommitdiff
path: root/tests/auth-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auth-test.c')
-rw-r--r--tests/auth-test.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/auth-test.c b/tests/auth-test.c
index 1144decf..95de60c2 100644
--- a/tests/auth-test.c
+++ b/tests/auth-test.c
@@ -464,12 +464,12 @@ do_digest_expiration_test (void)
uri = g_strconcat (base_uri, "Digest/realm1/", NULL);
do_digest_nonce_test (session, "First", uri, TRUE, TRUE, TRUE);
g_free (uri);
- sleep (2);
+ g_usleep (2 * G_USEC_PER_SEC);
uri = g_strconcat (base_uri, "Digest/realm1/expire/", NULL);
do_digest_nonce_test (session, "Second", uri, TRUE, TRUE, FALSE);
- sleep (1);
+ g_usleep (1 * G_USEC_PER_SEC);
do_digest_nonce_test (session, "Third", uri, TRUE, FALSE, FALSE);
- sleep (1);
+ g_usleep (1 * G_USEC_PER_SEC);
do_digest_nonce_test (session, "Fourth", uri, TRUE, FALSE, FALSE);
g_free (uri);