Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

another try at fixing test result on travis

  • Loading branch information...
commit f9ad3d82bdfb0f3e73ac993776ac3aec3018ddf1 1 parent 0da03d5
@timfel timfel authored
Showing with 6 additions and 4 deletions.
  1. +5 −3 Rakefile
  2. +1 −1  src/test/github338.rb
View
8 Rakefile
@@ -74,9 +74,11 @@ if ENV["TRAVIS"]
desc "Run vmunit tests on clean stone and again after update.sh ran"
task :"travis:vmunit" do
- system "rake tests:vmunit"
- system "./update.sh"
- system "rake tests:vmunit"
+ unless system("rake tests:vmunit") &&
+ system("./update.sh") &&
+ system("rake tests:vmunit")
+ exit 1
+ end
end
end
View
2  src/test/github338.rb
@@ -1,6 +1,6 @@
require 'socket'
-server = TCPServer.new 2000 # Server bind to port 2000
+server = TCPServer.new "127.0.0.1", 2000 # Server bind to port 2000
output = []
def read_socket_message(socket, chunk_size = 2)

0 comments on commit f9ad3d8

Please sign in to comment.
Something went wrong with that request. Please try again.