mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-06-04 23:07:27 +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>
|
<release-item>
|
||||||
<p>Only build C binary/library for Perl unit/integration tests.</p>
|
<p>Only build C binary/library for Perl unit/integration tests.</p>
|
||||||
</release-item>
|
</release-item>
|
||||||
|
|
||||||
|
<release-item>
|
||||||
|
<p>Sync time to prevent build failures when running on VirtualBox.</p>
|
||||||
|
</release-item>
|
||||||
</release-development-list>
|
</release-development-list>
|
||||||
</release-test-list>
|
</release-test-list>
|
||||||
</release>
|
</release>
|
||||||
|
@ -330,6 +330,14 @@ eval
|
|||||||
################################################################################################################################
|
################################################################################################################################
|
||||||
if (!defined($iVmId))
|
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
|
# Build CI configuration
|
||||||
if (!$bNoCiConfig)
|
if (!$bNoCiConfig)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user