summaryrefslogtreecommitdiff
path: root/android/sdk_test.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2023-11-28 14:18:12 -0800
committer Colin Cross <ccross@android.com> 2023-11-28 22:35:37 +0000
commite7151f971e1a633917ded8f7a12048b3273fd35c (patch)
treecb3930797ee379b7ed512f05dc48977d5c6201a3 /android/sdk_test.go
parent5ca7b8ed22f6f9ffff6d24970ee7b170cfc55b88 (diff)
Move startRBE error handling to the main goroutine
When called from the startRBE goroutine, the panic ctx.Fatalf triggered by is unhandled and causes the process to exit without cleaning up the terminal. Move most of the quick checks to a checkRBERequirements function called on the main goroutine so they can be reported immediately before running Soong and Kati, and recover any panics from startRBE and report them after waiting on rbeCh. Bug: 293501187 Test: gcertdestroy && m nothing Change-Id: I62c84c93ab0a7f0e4f2ab2cc64b22e2070dd6e4c
Diffstat (limited to 'android/sdk_test.go')
0 files changed, 0 insertions, 0 deletions