mirror of
https://github.com/kemko/nomad.git
synced 2026-01-06 10:25:42 +03:00
test: capture url to fix flaky test
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user