THRIFT-3452 .travis.yml: Migrating from legacy to container-based infrastructure
Client: Build
Patch: Nobuaki Sukegawa
Use "services: docker"
This closes #730
diff --git a/test/rb/integration/TestClient.rb b/test/rb/integration/TestClient.rb
index 6aec596..15dcbfd 100755
--- a/test/rb/integration/TestClient.rb
+++ b/test/rb/integration/TestClient.rb
@@ -318,9 +318,9 @@
def test_oneway
p 'test_oneway'
time1 = Time.now.to_f
- @client.testOneway(3)
+ @client.testOneway(1)
time2 = Time.now.to_f
- assert_equal((time2-time1)*1000000<400, true)
+ assert_operator (time2-time1), :<, 0.1
end
end