1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-01-18 04:58:51 +02:00

Run tests in tmpfs.

This will likely improve performance, but it also makes the filesystem consistent between platforms.

A number of tests were failing on shiftfs, which was the default for arm64 on Travis.
This commit is contained in:
David Steele 2019-10-14 11:51:14 +02:00
parent b1dc5a6d26
commit 67dde73727

View File

@ -129,6 +129,12 @@ eval
{bSuppressStdErr => true});
processEnd();
processBegin('mount tmpfs');
processExec('mkdir -p -m 770 test');
processExec('sudo mount -t tmpfs -o size=2560m tmpfs test');
processExec('df -h test', {bShowOutputAsync => true});
processEnd();
################################################################################################################################
# Build documentation
################################################################################################################################