[jsonrpc-glib] tests: disable assertion
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jsonrpc-glib] tests: disable assertion
- Date: Mon, 5 Feb 2018 10:12:23 +0000 (UTC)
commit 3b3812f1587ba0e22c98c42a8be22e8aec3bb285
Author: Christian Hergert <chergert redhat com>
Date: Mon Feb 5 02:11:48 2018 -0800
tests: disable assertion
We can't guarantee this assertion, so disable it for now.
Fixes #1
tests/test-gauntlet.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/tests/test-gauntlet.c b/tests/test-gauntlet.c
index 1f5027d..73cff9f 100644
--- a/tests/test-gauntlet.c
+++ b/tests/test-gauntlet.c
@@ -53,7 +53,12 @@ call_cb (GObject *object,
r = jsonrpc_client_call_finish (JSONRPC_CLIENT (object), result, &res, &error);
g_assert_cmpint (error->domain, ==, G_IO_ERROR);
+#if 0
+ /* We can't really guarantee this, given the ways the socket errors
+ * can be propagated.
+ */
g_assert (error->code == 0 || error->code == G_IO_ERROR_NOT_CONNECTED);
+#endif
g_assert_false (r);
g_main_loop_quit (main_loop);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]