Skip to content

Commit ea8aeb9

Browse files
committed
check_cache increase cache window to allow for slow CI
Signed-off-by: Hans Zandbelt <hans.zandbelt@zmartzone.eu>
1 parent f6af09e commit ea8aeb9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/check_cache.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ static void _test_basic_cache(oauth2_cache_t *c)
5656
bool rc = false;
5757
char *value = NULL;
5858

59-
rc = oauth2_cache_set(_log, c, "piet", "klaas", 1);
59+
rc = oauth2_cache_set(_log, c, "piet", "klaas", 2);
6060
ck_assert_int_eq(rc, true);
6161

6262
value = NULL;
@@ -66,7 +66,7 @@ static void _test_basic_cache(oauth2_cache_t *c)
6666
ck_assert_str_eq(value, "klaas");
6767
oauth2_mem_free(value);
6868

69-
sleep(2);
69+
sleep(3);
7070

7171
value = NULL;
7272
rc = oauth2_cache_get(_log, c, "piet", &value);

0 commit comments

Comments
 (0)