Skip to content

Commit bf896f1

Browse files
authored
Merge pull request #1266 from dbfixtures/macos-system-is-starting-up
Attempt to fix a macos random failure
2 parents 0a99a9c + 415bb40 commit bf896f1

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

newsfragments/+831f24cb.misc.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Attempt to overcome random failure on CI on MacOS on xdist workers where test_executor_init_with_password is receiving
2+
`FATAL: the database system is starting up` error message from psycopg.
3+
4+
That's the only test that doesn't have guards against attempting to start on the same port as other xdist worker.

tests/test_executor.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ def test_unsupported_version(request: FixtureRequest) -> None:
6868
executor.start()
6969

7070

71+
@pytest.mark.xdist_group(name="executor_no_xdist_guard")
7172
@pytest.mark.parametrize("locale", ("en_US.UTF-8", "de_DE.UTF-8", "nl_NO.UTF-8"))
7273
def test_executor_init_with_password(
7374
request: FixtureRequest,

0 commit comments

Comments
 (0)