[glib-networking] Disable PKCS#11 client authentication test



commit f25b1203bf1358229fba3505ffbbd3a6942cd7ba
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Thu Dec 5 09:31:10 2019 -0600

    Disable PKCS#11 client authentication test
    
    This test is too flaky. See #104

 tls/tests/connection.c | 6 ++++++
 1 file changed, 6 insertions(+)
---
diff --git a/tls/tests/connection.c b/tls/tests/connection.c
index adea183..9058d23 100644
--- a/tls/tests/connection.c
+++ b/tls/tests/connection.c
@@ -1061,6 +1061,8 @@ test_client_auth_connection (TestConnection *test,
   g_assert_true (g_tls_certificate_is_same (peer, cert));
 }
 
+/* https://gitlab.gnome.org/GNOME/glib-networking/issues/104 */
+#if 0
 static void
 test_client_auth_pkcs11_connection (TestConnection *test,
                                     gconstpointer   data)
@@ -1163,6 +1165,7 @@ test_client_auth_pkcs11_connection (TestConnection *test,
   g_object_unref (interaction);
 #endif
 }
+#endif
 
 static void
 test_client_auth_rehandshake (TestConnection *test,
@@ -2600,8 +2603,11 @@ main (int   argc,
               setup_connection, test_client_auth_request_fail, teardown_connection);
   g_test_add ("/tls/" BACKEND "/connection/client-auth-request-none", TestConnection, NULL,
               setup_connection, test_client_auth_request_none, teardown_connection);
+  /* https://gitlab.gnome.org/GNOME/glib-networking/issues/104 */
+#if 0
   g_test_add ("/tls/" BACKEND "/connection/client-auth-pkcs11", TestConnection, NULL,
               setup_connection, test_client_auth_pkcs11_connection, teardown_connection);
+#endif
   g_test_add ("/tls/" BACKEND "/connection/no-database", TestConnection, NULL,
               setup_connection, test_connection_no_database, teardown_connection);
   g_test_add ("/tls/" BACKEND "/connection/failed", TestConnection, NULL,


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