Ticket #36823

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

Eröffnet am: 2016-11-26 18:20 Letztes Update: 2016-11-26 18:20

Auswertung:
Verantwortlicher:
(Keine)
Typ:
Status:
Offen
Komponente:
(Keine)
Meilenstein:
(Keine)
Priorität:
5 - Mittel
Schweregrad:
5 - Mittel
Lösung:
Keine
Datei:
Keine

Details

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-Verlauf (1/1 Historien)

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

Dateianhangliste

Keine Anhänge

Bearbeiten

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