diff options
| author | 2021-03-08 15:05:24 +0000 | |
|---|---|---|
| committer | 2021-03-08 22:45:09 +0000 | |
| commit | fa29885380342aa4adb82e7cffea4bd5d3e78cfd (patch) | |
| tree | dab084f916b54359932489dd0f0db7c0c598e25a /java/java_test.go | |
| parent | 5a5eeace5483f8d406ef7bda440652ccca7dc727 (diff) | |
Avoid accidentally sharing preparers slice across factories
Previously, there was a bug that caused tests which ran successfully on
their own to fail when run together in parallel. They each extended the
same factory and ended up sharing the preparers slice which meant that
they overwrote each other's preparers causing the tests to fail.
This change fixes that by creating a new slice for each factory.
Bug: 181070625
Test: m nothing
Change-Id: If340c125c5b03a9d5c36a59ff4da4ec189808f9b
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions