1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2024-12-12 10:04:14 +02:00

Sync time to prevent build failures when running on VirtualBox.

This commit is contained in:
David Steele 2017-11-27 22:16:24 -05:00
parent 332861c6c9
commit 4a0eb6863d
2 changed files with 12 additions and 0 deletions

View File

@ -62,6 +62,10 @@
<release-item>
<p>Only build C binary/library for Perl unit/integration tests.</p>
</release-item>
<release-item>
<p>Sync time to prevent build failures when running on VirtualBox.</p>
</release-item>
</release-development-list>
</release-test-list>
</release>

View File

@ -330,6 +330,14 @@ eval
################################################################################################################################
if (!defined($iVmId))
{
# Sync time to prevent build failures when running on VirtualBox.
my $strVBoxService = '/usr/sbin/VBoxService';
if ($oStorageTest->exists($strVBoxService))
{
executeTest("sudo ${strVBoxService} --timesync-set-start");
}
# Build CI configuration
if (!$bNoCiConfig)
{