shogi-server source
Revisión | eb5079160801fd1eb26f0c28a54e216a3afc9501 (tree) |
---|---|
Tiempo | 2015-02-01 11:33:09 |
Autor | Daigo Moriwaki <daigo@debi...> |
Commiter | Daigo Moriwaki |
Adjust sleep intervals to get more stable test results
@@ -118,8 +118,9 @@ class TestFork < BaseClient | ||
118 | 118 | |
119 | 119 | result, result2 = handshake do |
120 | 120 | source_game = parse_game_name(@admin) |
121 | + sleep 0.2 | |
121 | 122 | @admin.puts "%%FORK #{source_game}" # nil for new_buoy_game name |
122 | - sleep 1 | |
123 | + sleep 1.2 | |
123 | 124 | assert /##\[FORK\]: new buoy game name: buoy_TestFork_1-1500-0/ =~ @admin.message |
124 | 125 | end |
125 | 126 |
@@ -190,7 +190,7 @@ class BaseClient < Test::Unit::TestCase | ||
190 | 190 | @p1.login |
191 | 191 | sleep 0.1 |
192 | 192 | @p2.login |
193 | - sleep 0.1 | |
193 | + sleep 0.5 | |
194 | 194 | @p1.game |
195 | 195 | sleep 0.1 |
196 | 196 | @p2.game |