Skip to content

Commit f77ebe9

Browse files
committed
ci: Exclude DB integration tests on MacOS
1 parent 94cbc9a commit f77ebe9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

flake.nix

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,21 @@
324324
'')
325325
];
326326
})
327+
328+
({ lib, pkgs, config, ... }: lib.mkIf pkgs.hostPlatform.isMacOS {
329+
# PostgreSQL tests fail in Hydra on MacOS with:
330+
#
331+
# FATAL: could not create shared memory segment: No space left on device
332+
# DETAIL: Failed system call was shmget(key=639754676, size=56, 03600).
333+
# HINT: This error does *not* mean that you have run out of disk space.
334+
# It occurs either if all available shared memory IDs have been taken,
335+
# in which case you need to raise the SHMMNI parameter in your kernel,
336+
# or because the system's overall limit for shared memory has been reached.
337+
#
338+
# So disable them for now
339+
packages.cardano-chain-gen.components.tests.cardano-chain-gen.doCheck = false;
340+
packages.cardano-db.components.tests.test-db.doCheck = false;
341+
})
327342
];
328343
})).appendOverlays [
329344
# Collect local package `exe`s

0 commit comments

Comments
 (0)