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:
parent
332861c6c9
commit
4a0eb6863d
@ -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>
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user