Skip to content

Commit

Permalink
Skip test_server_auth_mtls on MacOS.
Browse files Browse the repository at this point in the history
PostgreSQL's request for a shared memory segment exceeded your
kernel's SHMALL parameter causing an error in out builds.
  • Loading branch information
vpetrovykh committed Mar 20, 2024
1 parent 84c515d commit 870bda8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions tests/test_server_auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
import asyncio
import os
import pathlib
import platform
import signal
import ssl
import tempfile
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 870bda8

Please sign in to comment.