File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed
integration_testing/automated_testapp Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -123,14 +123,15 @@ def run(self):
123123 open_process = subprocess .Popen (args = args )
124124 test_running = True
125125 time_until_timeout = 300 # Timeout of 300 seconds, or 5 minutes.
126+ logging .info ("===== log_path: %s" , log_path )
126127 while test_running and time_until_timeout > 0 :
127128 time .sleep (5 )
128129 time_until_timeout -= 5
129- logging .info ("===== log_path: %s" , log_path )
130130 if os .path .exists (log_path ):
131131 with open (log_path ) as f :
132132 self .logs = f .read ()
133133 test_running = "All tests finished" not in self .logs
134+ logging .info ("===== Did I timeout? %d" , time_until_timeout )
134135 open_process .kill ()
135136 if platform .system () == 'Linux' :
136137 # Linux seems to have a problem printing out too much information, so truncate it
Original file line number Diff line number Diff line change @@ -116,9 +116,11 @@ public void Update() {
116116
117117 if ( currentTestIndex >= tests . Count ) {
118118 if ( Finished ) {
119+ UnityEngine . Debug . Log ( "===== Test was finished, waiting for some time to pass: " + Time . time + " " + endTime ) ;
119120 // No tests left to run.
120121 // Wait 5 seconds before notifying test lab manager so video can capture end of test.
121122 if ( Time . time > endTime + 5f ) {
123+ UnityEngine . Debug . Log ( "===== Enough time passed, marking stuff as complete" ) ;
122124 testLabManager . NotifyHarnessTestIsComplete ( ) ;
123125 }
124126 } else {
You can’t perform that action at this time.
0 commit comments