diff --git a/doc/xml/release.xml b/doc/xml/release.xml index 5373fe34b..1fb6fd69f 100644 --- a/doc/xml/release.xml +++ b/doc/xml/release.xml @@ -62,6 +62,10 @@

Only build C binary/library for Perl unit/integration tests.

+ + +

Sync time to prevent build failures when running on VirtualBox.

+
diff --git a/test/test.pl b/test/test.pl index 954899938..6e91c7e2a 100755 --- a/test/test.pl +++ b/test/test.pl @@ -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) {