待辦事項 #36823

Running tests fails with a shogi-server running in a Docker container

啟用日期: 2016-11-26 18:20 最後更新: 2016-11-26 18:20

回報者:
負責人:
(無)
類型:
狀態:
開啟
元件:
(無)
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
檔案:

細節

Some test cases depend on a log directory. Running tests against a shogi-server running in a Docker container does not complete successfully.

======================================================================================================================================================
Failure: <false> is not true.
test_toryo(TestClientAtmark)
/Users/daigo/rubyprojects/shogi-server/test/TC_functional.rb:30:in `test_toryo'
     27:     day   = now.strftime("%d")
     28:     path = File.join( File.dirname(__FILE__), "..", year, month, day, "*atmark-1500-0*")
     29:     log_files = Dir.glob(path)
  => 30:     assert(!log_files.empty?)
     31:     sleep 0.1
     32:     log_content = File.read(log_files.sort.last)
     33:
======================================================================================================================================================

======================================================================================================================================================
Failure: <false> is not true.
test_toryo(TestHandicappedGame)
/Users/daigo/rubyprojects/shogi-server/test/TC_functional.rb:99:in `test_toryo'
      96:     day   = now.strftime("%d")
      97:     path = File.join( File.dirname(__FILE__), "..", year, month, day, "*hc2p_hoge-1500-0*")
      98:     log_files = Dir.glob(path)
  =>  99:     assert(!log_files.empty?)
     100:     sleep 0.1
     101:     log_content = File.read(log_files.sort.last)
     102:
======================================================================================================================================================

Ticket History (1/1 Histories)

2016-11-26 18:20 Updated by: beatles
  • New Ticket "Running tests fails with a shogi-server running in a Docker container" created

Attachment File List

No attachments

編輯

You are not logged in. I you are not logged in, your comment will be treated as an anonymous post. » 登入