1.1 --- a/gmyth/tests/gmyth_test_connection.c Wed Jan 10 20:50:38 2007 +0000
1.2 +++ b/gmyth/tests/gmyth_test_connection.c Wed Jan 10 21:47:24 2007 +0000
1.3 @@ -25,7 +25,7 @@
1.4 {
1.5 GMythQuery *query = gmyth_query_new ();
1.6
1.7 - if (gmyth_query_connect (query, backend_info) == TRUE) {
1.8 + if (gmyth_query_connect_with_timeout (query, backend_info, 3) == TRUE) {
1.9 g_debug ("Mysql connection success");
1.10 return TRUE;
1.11 } else {
1.12 @@ -47,9 +47,8 @@
1.13
1.14 backend_info = gmyth_backend_info_new_with_uri (argv[1]);
1.15
1.16 + test_mysql_connection1 (backend_info);
1.17 test_backend_connection1 (backend_info);
1.18 -
1.19 - test_mysql_connection1 (backend_info);
1.20 }
1.21
1.22