diff options
| author | 2024-06-12 06:47:06 -0700 | |
|---|---|---|
| committer | 2024-06-12 07:48:26 -0700 | |
| commit | 0f551e002851c28f0ad0197c1317797bd5735cd8 (patch) | |
| tree | 5c4a2228e5f3b5ed0f797e7b78d5339ed91b2289 /api/api_test.go | |
| parent | a1dcd5ae9d881bd7f133533874efb723fbd652eb (diff) | |
Prevent race condition
Use proper synchronization to prevent server crash.
There were more cases where lokcing wasn't done as expected.
Those are addressed in this change.
Additional refactoring is also done to make code follow existing pattern.
Test: atest CtsAutoFillServiceTestCases
Bug: 339729009
Change-Id: I4c43bfcd8be93d1e3dd159fa243693cb0fc607bb
Diffstat (limited to 'api/api_test.go')
0 files changed, 0 insertions, 0 deletions