mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-01-30 05:39:12 +02:00
Run all tests on tempfs rather than local disk.
This commit is contained in:
parent
e1cb9ae86a
commit
9b98c2e7d6
@ -104,6 +104,10 @@
|
||||
<p>Warnings in C builds treated as errors.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Run all tests on tempfs rather than local disk.</p>
|
||||
</release-item>
|
||||
|
||||
<release-item>
|
||||
<p>Remove Debian test repo after PostgreSQL 10 release.</p>
|
||||
</release-item>
|
||||
|
2
test/Vagrantfile
vendored
2
test/Vagrantfile
vendored
@ -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
|
||||
|
||||
|
@ -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});
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user