Skip to content

Commit 27c6d01

Browse files
committed
Add more logs
1 parent 2869ec6 commit 27c6d01

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

scripts/gha/desktop_tester.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

scripts/gha/integration_testing/automated_testapp/AutomatedTestRunner.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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 {

0 commit comments

Comments
 (0)