• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

shogi-server source


Commit MetaInfo

Revisióneb5079160801fd1eb26f0c28a54e216a3afc9501 (tree)
Tiempo2015-02-01 11:33:09
AutorDaigo Moriwaki <daigo@debi...>
CommiterDaigo Moriwaki

Log Message

Adjust sleep intervals to get more stable test results

Cambiar Resumen

Diferencia incremental

--- a/test/TC_fork.rb
+++ b/test/TC_fork.rb
@@ -118,8 +118,9 @@ class TestFork < BaseClient
118118
119119 result, result2 = handshake do
120120 source_game = parse_game_name(@admin)
121+ sleep 0.2
121122 @admin.puts "%%FORK #{source_game}" # nil for new_buoy_game name
122- sleep 1
123+ sleep 1.2
123124 assert /##\[FORK\]: new buoy game name: buoy_TestFork_1-1500-0/ =~ @admin.message
124125 end
125126
--- a/test/baseclient.rb
+++ b/test/baseclient.rb
@@ -190,7 +190,7 @@ class BaseClient < Test::Unit::TestCase
190190 @p1.login
191191 sleep 0.1
192192 @p2.login
193- sleep 0.1
193+ sleep 0.5
194194 @p1.game
195195 sleep 0.1
196196 @p2.game