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):
123
123
open_process = subprocess .Popen (args = args )
124
124
test_running = True
125
125
time_until_timeout = 300 # Timeout of 300 seconds, or 5 minutes.
126
+ logging .info ("===== log_path: %s" , log_path )
126
127
while test_running and time_until_timeout > 0 :
127
128
time .sleep (5 )
128
129
time_until_timeout -= 5
129
- logging .info ("===== log_path: %s" , log_path )
130
130
if os .path .exists (log_path ):
131
131
with open (log_path ) as f :
132
132
self .logs = f .read ()
133
133
test_running = "All tests finished" not in self .logs
134
+ logging .info ("===== Did I timeout? %d" , time_until_timeout )
134
135
open_process .kill ()
135
136
if platform .system () == 'Linux' :
136
137
# 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() {
116
116
117
117
if ( currentTestIndex >= tests . Count ) {
118
118
if ( Finished ) {
119
+ UnityEngine . Debug . Log ( "===== Test was finished, waiting for some time to pass: " + Time . time + " " + endTime ) ;
119
120
// No tests left to run.
120
121
// Wait 5 seconds before notifying test lab manager so video can capture end of test.
121
122
if ( Time . time > endTime + 5f ) {
123
+ UnityEngine . Debug . Log ( "===== Enough time passed, marking stuff as complete" ) ;
122
124
testLabManager . NotifyHarnessTestIsComplete ( ) ;
123
125
}
124
126
} else {
You can’t perform that action at this time.
0 commit comments