diff options
| author | Aleksandr Nogikh <nogikh@google.com> | 2023-01-17 15:15:36 +0100 |
|---|---|---|
| committer | Aleksandr Nogikh <wp32pw@gmail.com> | 2023-01-17 16:33:44 +0100 |
| commit | efe57972270c7b62629027e16de222400cd73782 (patch) | |
| tree | b86edb1b409d4c2e8b6443e6b9e01e6c2deec450 /pkg/instance/instance.go | |
| parent | 3315b164cbab851cbcf8dd9b2c0ac50cd913c94e (diff) | |
dashboard: always close a dev_appserver instance
Currently, if one of the ctx.Close asserts fails, we never close the
connection to the dev_appserver instance we use.
As a result, the application created by `go test` is left with lots of
orphaned dev_appserver children and `go test` endlessly waits for them
to stop.
Defer the aetest.Instance.Close() call to prevent this from happening.
Diffstat (limited to 'pkg/instance/instance.go')
0 files changed, 0 insertions, 0 deletions
