tests: Disable failing tests that need to be fixed.

This commit is contained in:
Rafal Somla
2022-07-12 12:29:44 +02:00
parent 12ef3d7cfd
commit 8cc9a136d9
3 changed files with 17 additions and 1 deletions

View File

@@ -8,6 +8,15 @@ default_socket_timeout=4
<?php
require_once(__DIR__."/auth_utils.inc");
/*
FIXME: This test requires that it is possible to login to test user account
without SSL. But this is not the case if the test account uses
`caching_sha2_password` authentication, for example, because this
authentication method requires SSL and then the test fails miserably.
Probably best to create and use dedicated account for these scenarios.
*/
function test_ssl_connection_options($user, $ssl_mode, $ssl_option = '', $expect_success = true, $only_report = false) {
global $connection_uri;
$uri = $connection_uri;

View File

@@ -1,6 +1,10 @@
--TEST--
mysqlx connection test / URI string
--SKIPIF--
<?php
// FIXME: on win error codes are different from expected
if(substr(PHP_OS,0,3) == 'WIN') echo 'skip';
?>
--INI--
error_reporting=0
default_socket_timeout=1

View File

@@ -28,7 +28,10 @@ mysqlx simple SSL connection
$res = $session->sql('SELECT USER()')->execute();
$userdata = $res->fetchOne();
expect_eq($userdata['USER()'], $user.'@'.$host);
// FIXME:
// - fails when DNS hostname is converted to IP address
// - fails when test server runs inside docker
// expect_eq($userdata['USER()'], $user.'@'.$host);
verify_expectations();
print "done!\n";
?>