Commit 6362e321 authored by Michael Schurter's avatar Michael Schurter
Browse files

test: capture url to fix flaky test

parent e4832653
Showing with 1 addition and 0 deletions
+1 -0
......@@ -61,6 +61,7 @@ func syncVault(t *testing.T) map[string]string {
g, _ := errgroup.WithContext(ctx)
for ver, url := range missing {
dst := filepath.Join(binDir, ver)
url := url
g.Go(func() error {
sema <- 1
defer func() {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment