[libsoup/wip/ci-test] gtest 2




commit b69f9d5add4a4fb70169dd33e136925cef8cf46e
Author: Patrick Griffis <pgriffis igalia com>
Date:   Wed May 26 13:19:21 2021 -0500

    gtest 2

 tests/http2-server.py | 3 +--
 tests/test-utils.c    | 1 +
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/tests/http2-server.py b/tests/http2-server.py
index 2a272aa1..977aff15 100755
--- a/tests/http2-server.py
+++ b/tests/http2-server.py
@@ -21,7 +21,6 @@ loop = None
 def set_timeout():
     global timer_handle
 
-    sys.stderr.write('set_timeout, {}\n'.format('ASAN_OPTIONS' in os.environ))
     # ASAN is very slow, just don't have a timer.
     if 'ASAN_OPTIONS' in os.environ:
         return
@@ -42,7 +41,7 @@ async def index():
 @app.route('/slow')
 async def slow():
     set_timeout()
-    # await asyncio.sleep(1)
+    await asyncio.sleep(1)
     return 'Hello world'
 
 @app.route('/no-content')
diff --git a/tests/test-utils.c b/tests/test-utils.c
index 00533b87..cf357cbc 100644
--- a/tests/test-utils.c
+++ b/tests/test-utils.c
@@ -282,6 +282,7 @@ quart_init (void)
         // Read stdout until the server says it is running
         while (TRUE) {
                 char *line = g_data_input_stream_read_line_utf8 (in_stream, NULL, NULL, &error);
+                g_message ("LINE: %s", line);
 
                 if (error) {
                         g_test_message ("Failed to start quart server: %s", error->message);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]