| commit | 69b8443d29976593af8ad4c446c7a51db9e6fc15 | [log] [tgz] |
|---|---|---|
| author | gio <gio@v1.dodo.cloud> | Sun Oct 06 17:46:05 2024 +0400 |
| committer | gio <gio@v1.dodo.cloud> | Sun Oct 06 17:46:05 2024 +0400 |
| tree | fb84800d6d742a2578183d939f262a18b0084116 | |
| parent | 07458ded00bb47d86ba550458735c4caab4f7692 [diff] [blame] |
EnvManager: Add Stop method and shutdown server using it in tests Change-Id: I552db6dc1487ed880bce897c7cec85a89a15355d
diff --git a/core/installer/welcome/env_test.go b/core/installer/welcome/env_test.go index 448f221..cec2458 100644 --- a/core/installer/welcome/env_test.go +++ b/core/installer/welcome/env_test.go
@@ -386,6 +386,9 @@ if len(httpClient.counts) != 6 { t.Fatal(httpClient.counts) } + if err := s.Stop(); err != nil { + t.Fatal(err) + } } func debugFS(bfs billy.Filesystem, t *testing.T, files ...string) {