1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58
|
Description: disable memcached and redis cache tests
Author: Nicolas Mora <babelouest@debian.org>
Forwarded: not-needed
--- a/test/check_cache.c
+++ b/test/check_cache.c
@@ -182,7 +182,7 @@
}
END_TEST
-#ifdef HAVE_LIBMEMCACHE
+#if 0
START_TEST(test_cache_memcache)
{
oauth2_cache_t *c = NULL;
@@ -198,7 +198,7 @@
END_TEST
#endif
-#ifdef HAVE_LIBHIREDIS
+#if 0
START_TEST(test_cache_redis)
{
oauth2_cache_t *c = NULL;
@@ -225,10 +225,10 @@
tcase_add_test(c, test_cache_bogus);
tcase_add_test(c, test_cache_shm);
tcase_add_test(c, test_cache_file);
-#ifdef HAVE_LIBMEMCACHE
+#if 0
tcase_add_test(c, test_cache_memcache);
#endif
-#ifdef HAVE_LIBHIREDIS
+#if 0
tcase_add_test(c, test_cache_redis);
#endif
--- a/test/check_liboauth2.c
+++ b/test/check_liboauth2.c
@@ -40,7 +40,7 @@
// #include <semaphore.h>
-static int http_server_port = 8888;
+static int http_server_port = 8080;
static int http_server_signal_delivered = 0;
#define HTTP_SERVER_BUFSIZE 8096
--- a/test/check_liboauth2.h
+++ b/test/check_liboauth2.h
@@ -129,7 +129,7 @@
{ \
if (_http_base_url == NULL) \
_http_base_url = oauth2_stradd( \
- NULL, "http://127.0.0.1:8888", \
+ NULL, "http://127.0.0.1:8080", \
oauth2_check_http_base_path(), NULL); \
return _http_base_url; \
} \
|