diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2022-01-27 19:37:57 +0000 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2022-02-25 18:57:42 +0100 |
| commit | 2fe98689e99191e3ed22838cf26b976ea266ca8e (patch) | |
| tree | 0d95f3f1295b549811bfd8c547e3751f173e136f /pkg/instance/instance_test.go | |
| parent | 78eae57185479f6e959ca2b5822a66297857d5c6 (diff) | |
tools/syz-testbed: support multiple targets
Refactor the code of syz-testbed to enable support of different targets.
This required the following changes:
- Instead of doing mass start and mass restart of instances, let them be
more independent.
- Support different types of instances, which may have different
expectations of the target behavior. E.g. syz-manager normally never
exits, while syz-repro is expected to exit after a certain time.
- Factor out stats management, as stat entries may be different for
different targets.
- Introduce locking to TestbedCtx and Checkout, as slices there can be
modified at arbitrary times.
Diffstat (limited to 'pkg/instance/instance_test.go')
0 files changed, 0 insertions, 0 deletions
