pgbackrest.git / summary / log / commit / refs
commit 67dde73727d2b30ce3f329054398a1f516a65899
Author: David Steele <david@pgmasters.net>
Date: Mon Oct 14 09:51:14 2019 +0000
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.
test/travis.pl | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/test/travis.pl b/test/travis.pl
index 246c5e44a..63f1a314b 100755
--- a/test/travis.pl
+++ b/test/travis.pl
@@ -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
################################################################################################################################
[parent: b1dc5a6d269b]