[libsoup/wip/ci-test] gtest 2
- From: Patrick Griffis <pgriffis src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libsoup/wip/ci-test] gtest 2
- Date: Wed, 26 May 2021 18:38:49 +0000 (UTC)
commit 37441f0b19f95296cfd862a8f2defbb5f01aaec6
Author: Patrick Griffis <pgriffis igalia com>
Date: Wed May 26 13:19:21 2021 -0500
gtest 2
tests/http2-server.py | 5 +++--
tests/test-utils.c | 1 +
2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/tests/http2-server.py b/tests/http2-server.py
index 2a272aa1..0e7cad5d 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,9 @@ async def index():
@app.route('/slow')
async def slow():
set_timeout()
- # await asyncio.sleep(1)
+ print('before sleep')
+ await asyncio.sleep(1)
+ print('after sleep')
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]