-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add a /var/tmp volume to the QA tests to fix tests failing (#107)
The tests that break are `env_test` and `db_test`. `env_test` fails due to trying to use `FS_IOC_GETVERSION` on an overlayfs, which doesn't support it. We need to use a host filesystem for this because only certain filesytsems support this ioctl. For this we add a host bind volume to /var/tmp which is what the code tries to use. `db_test` fails for an unknown reason and only in buffered I/O mode, which might indicate a bug in overlayfs. This is caused by a setting of the `TMPD` environment variable to the overlayfs mount. Add a mount to the host's /tmp directory and set `TMPD` to it instead (we can't use the default of /dev/shm because there's not enough memory available on the runner machines). While at it, clean up the workflow definition a bit.
- Loading branch information
1 parent
453b62b
commit 0917747
Showing
1 changed file
with
26 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters