Skip to content

smarthttp: Fix race on err in bundle-URI tests

Will Chandler (ex-GitLab) requested to merge wc/fix-bundle-err-race into master

TestServer_PostUploadPackWithBundleURI inadvertently reuses var err in each test case, rather than creating a new variable, causing race detector failures.

Explicitly declare err within the test case to remove the race.

Merge request reports