From ed2b45603c7d34b6ecf09b21bf0e52f01ba7c7a4 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Sun, 18 Aug 2024 13:53:35 +0200 Subject: [PATCH] Don't skip tests which are supposed to fail; mark them as xfail (#15472) Especially regarding buggy server behavior, we should not skip those tests, because it is unlikely that fixes to the server's behavior will even be noticed. Instead we mark these tests as xfail, so we get a warning if the test succeeds, and can act appropriately. --- ext/mysqli/tests/mysqli_change_user_get_lock.phpt | 3 ++- ext/mysqli/tests/mysqli_change_user_locks_temporary.phpt | 3 ++- ext/mysqli/tests/mysqli_stmt_attr_get_prefetch.phpt | 3 ++- ext/mysqli/tests/mysqli_stmt_result_metadata_sqltests.phpt | 4 ++-- 4 files changed, 8 insertions(+), 5 deletions(-) diff --git a/ext/mysqli/tests/mysqli_change_user_get_lock.phpt b/ext/mysqli/tests/mysqli_change_user_get_lock.phpt index 3026cb369b3..a4442edb527 100644 --- a/ext/mysqli/tests/mysqli_change_user_get_lock.phpt +++ b/ext/mysqli/tests/mysqli_change_user_get_lock.phpt @@ -5,8 +5,9 @@ mysqli --SKIPIF-- +--XFAIL-- +The server is still buggy --INI-- max_execution_time=240 --FILE-- diff --git a/ext/mysqli/tests/mysqli_change_user_locks_temporary.phpt b/ext/mysqli/tests/mysqli_change_user_locks_temporary.phpt index 36f5ec0329c..6d0789b90b4 100644 --- a/ext/mysqli/tests/mysqli_change_user_locks_temporary.phpt +++ b/ext/mysqli/tests/mysqli_change_user_locks_temporary.phpt @@ -5,8 +5,9 @@ mysqli --SKIPIF-- +--XFAIL-- +The server is still buggy --FILE-- +--XFAIL-- +prefetch isn't supported at the moment --FILE-- +--XFAIL-- +http://bugs.mysql.com/bug.php?id=42490 --FILE--