From 9b98c2e7d6492b626267ffa0c50c67922dd43bda Mon Sep 17 00:00:00 2001 From: David Steele Date: Sun, 22 Oct 2017 13:11:03 -0400 Subject: [PATCH] Run all tests on tempfs rather than local disk. --- doc/xml/release.xml | 4 ++++ test/Vagrantfile | 2 +- test/test.pl | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 0925d1672..25243953c 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -104,6 +104,10 @@

Warnings in C builds treated as errors.

+ +

Run all tests on tempfs rather than local disk.

+
+

Remove Debian test repo after PostgreSQL 10 release.

diff --git a/test/Vagrantfile b/test/Vagrantfile index 57ddda8e3..242bd33de 100644 --- a/test/Vagrantfile +++ b/test/Vagrantfile @@ -1,6 +1,6 @@ Vagrant.configure(2) do |config| config.vm.provider :virtualbox do |vb| - vb.memory = 2048 + vb.memory = 4096 vb.cpus = 8 end diff --git a/test/test.pl b/test/test.pl index 9927d61cd..e6480f17b 100755 --- a/test/test.pl +++ b/test/test.pl @@ -335,7 +335,11 @@ eval push(@{$oyProcess}, undef); } + + executeTest("sudo umount ${strTestPath}", {bSuppressError => true}); executeTest("sudo rm -rf ${strTestPath}/*"); + $oStorageTest->pathCreate($strTestPath, {strMode => '0770', bIgnoreExists => true}); + executeTest("sudo mount -t tmpfs -o size=2560M test ${strTestPath}"); $oStorageTest->pathCreate($strCoveragePath, {strMode => '0770', bIgnoreMissing => true, bCreateParent => true}); }