workhorse: Ensure no Goroutine leaks in upload and artifacts
This commit fixes all the tests to shut down the HTTP requests and test servers so that the TestMain() in each package can properly check for Goroutine leaks.
显示
- workhorse/_support/lint_last_known_acceptable_go1.21.txt 53 个添加, 53 个删除workhorse/_support/lint_last_known_acceptable_go1.21.txt
- workhorse/_support/lint_last_known_acceptable_go1.22.txt 53 个添加, 53 个删除workhorse/_support/lint_last_known_acceptable_go1.22.txt
- workhorse/internal/artifacts/artifacts_test.go 1 个添加, 2 个删除workhorse/internal/artifacts/artifacts_test.go
- workhorse/internal/artifacts/entry_test.go 0 个添加, 6 个删除workhorse/internal/artifacts/entry_test.go
- workhorse/internal/testhelper/testhelper.go 17 个添加, 7 个删除workhorse/internal/testhelper/testhelper.go
- workhorse/internal/upload/artifacts_upload_test.go 1 个添加, 2 个删除workhorse/internal/upload/artifacts_upload_test.go
- workhorse/internal/upload/body_uploader_test.go 15 个添加, 5 个删除workhorse/internal/upload/body_uploader_test.go
- workhorse/internal/upload/destination/objectstore/test/objectstore_stub_test.go 5 个添加, 1 个删除...oad/destination/objectstore/test/objectstore_stub_test.go
- workhorse/internal/upload/saved_file_tracker_test.go 4 个添加, 2 个删除workhorse/internal/upload/saved_file_tracker_test.go
- workhorse/internal/upload/uploads_test.go 43 个添加, 17 个删除workhorse/internal/upload/uploads_test.go
加载中
想要评论请 注册 或 登录