Ver código fonte

Some tests fail on 'localhost'

msmith-techempower 10 anos atrás
pai
commit
1429dfed05
2 arquivos alterados com 6 adições e 6 exclusões
  1. 3 3
      benchmark.cfg.example
  2. 3 3
      config/benchmark_profile

+ 3 - 3
benchmark.cfg.example

@@ -1,10 +1,10 @@
 [Defaults]
 # Available Keys: 
-client_host=localhost
+client_host=127.0.0.1
 client_identity_file=None
 client_user=techempower
 runner_user=testrunner
-database_host=localhost
+database_host=127.0.0.1
 database_identity_file=None
 database_os=linux
 database_user=techempower
@@ -23,7 +23,7 @@ mode=benchmark
 name=ec2
 os=linux
 password_prompt=False
-server_host=localhost
+server_host=127.0.0.1
 sleep=60
 test=None
 type=all

+ 3 - 3
config/benchmark_profile

@@ -39,11 +39,11 @@ export PATH="$JAVA_HOME/bin:$GRAILS_HOME/bin:$PLAY_HOME:$PLAY1_HOME:$VERTX_HOME/
 
 export LD_LIBRARY_PATH='$LD_LIBRARY_PATH:/usr/local/apr/lib'
 
-export TFB_SERVER_HOST='localhost'
-export TFB_CLIENT_HOST='localhost'
+export TFB_SERVER_HOST='127.0.0.1'
+export TFB_CLIENT_HOST='127.0.0.1'
 export TFB_CLIENT_USER='tfb'
 export TFB_CLIENT_IDENTITY_FILE='/home/tfb/.ssh/id_rsa'
-export TFB_DATABASE_HOST='localhost'
+export TFB_DATABASE_HOST='127.0.0.1'
 
 [ -e ~/.rvm ] && . ~/.rvm/scripts/'rvm'
 export LC_ALL='en_US.UTF-8'