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

Use Google DNS in test environment for consistency.

This commit is contained in:
David Steele 2017-07-26 13:40:09 -04:00
parent 97c4d9ec18
commit 14d6974d1b
2 changed files with 11 additions and 0 deletions

View File

@ -234,6 +234,12 @@
<p>Fix log checking after <postgres/> shuts down to include <id>FATAL</id> messages and disallow immediate shutdowns which can throw <id>FATAL</id> errors in the log.</p>
</release-item>
</release-bug-list>
<release-refactor-list>
<release-item>
<p>Use Google DNS in test environment for consistency.</p>
</release-item>
</release-refactor-list>
</release-test-list>
</release>

5
test/Vagrantfile vendored
View File

@ -35,6 +35,11 @@ Vagrant.configure(2) do |config|
apt-get install -y ntpdate
ntpdate pool.ntp.org
#---------------------------------------------------------------------------------------------------------------------------
echo 'Use Google DNS' && date
echo 'supersede domain-name-servers 8.8.8.8;' >> /etc/dhcp/dhclient.conf
/etc/init.d/networking restart
#---------------------------------------------------------------------------------------------------------------------------
echo 'Install Perl Modules' && date
apt-get install -y libdbd-pg-perl libio-socket-ssl-perl libxml-libxml-perl libxml-checker-perl libperl-critic-perl \