diff --git a/tests/clickhouse-test b/tests/clickhouse-test index 7c492a9b467..72e0f276bb5 100755 --- a/tests/clickhouse-test +++ b/tests/clickhouse-test @@ -11,6 +11,7 @@ import shutil import sys import os import os.path +import platform import signal import re import copy @@ -542,7 +543,8 @@ class SettingsRandomizer: 0.2, 0.5, 1, 10 * 1024 * 1024 * 1024 ), "local_filesystem_read_method": lambda: random.choice( - ["read", "pread", "mmap", "pread_threadpool", "io_uring"] + # io_uring is not supported on macOS, don't choose it + ["read", "pread", "mmap", "pread_threadpool", "io_uring"] if platform.system().lower() != "darwin" else ["read", "pread", "mmap", "pread_threadpool"] ), "remote_filesystem_read_method": lambda: random.choice(["read", "threadpool"]), "local_filesystem_read_prefetch": lambda: random.randint(0, 1),