From 870bda8ace858750ba466c3ad848d54ab674f48c Mon Sep 17 00:00:00 2001 From: Victor Petrovykh Date: Tue, 19 Mar 2024 19:41:23 -0400 Subject: [PATCH] Skip `test_server_auth_mtls` on MacOS. PostgreSQL's request for a shared memory segment exceeded your kernel's SHMALL parameter causing an error in out builds. --- tests/test_server_auth.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/tests/test_server_auth.py b/tests/test_server_auth.py index 0dc4ea9988e..279cfb2e1df 100644 --- a/tests/test_server_auth.py +++ b/tests/test_server_auth.py @@ -19,6 +19,7 @@ import asyncio import os import pathlib +import platform import signal import ssl import tempfile @@ -581,6 +582,11 @@ async def test_server_auth_in_transaction(self): DROP ROLE foo; ''') + @unittest.skipIf( + platform.system() == "Darwin" and platform.machine() == 'x86_64', + "Postgres is not getting getting enough shared memory on macos-14 " + "GitHub runner by default" + ) @unittest.skipIf( "EDGEDB_SERVER_MULTITENANT_CONFIG_FILE" in os.environ, "cannot use CONFIGURE INSTANCE in multi-tenant mode",