Try to fix data race in manifest unit test
@@ -42,7 +42,6 @@ instance_groups:
}()
os.Stdout = w
- go func() {
err := InterpolateVariables(log, baseManifest, varDir)
if len(expectedErr) != 0 {
Expect(err).NotTo(BeNil())
@@ -51,7 +50,7 @@ instance_groups:
Expect(err).To(BeNil())
}
w.Close()
- }()
+
stdout, err := ioutil.ReadAll(r)
return string(stdout), err
}
