Decrease number of concurrent subprocesses for helm repo add test case to fit…

Decrease number of concurrent subprocesses for helm repo add test case to fit within CircleCI's pipeline memory limit
Signed-off-by: 's avatarPatrick Decat <pdecat@gmail.com>
parent 6b800509
......@@ -174,8 +174,8 @@ func TestRepoAddConcurrentSubProcesses(t *testing.T) {
}
var wg sync.WaitGroup
wg.Add(3)
for i := 0; i < 3; i++ {
wg.Add(2)
for i := 0; i < 2; i++ {
go func(name string) {
defer wg.Done()
......@@ -195,7 +195,7 @@ func TestRepoAddConcurrentSubProcesses(t *testing.T) {
}
var name string
for i := 0; i < 3; i++ {
for i := 0; i < 2; i++ {
name = fmt.Sprintf("%s-%d", testName, i)
if !f.Has(name) {
t.Errorf("%s was not successfully inserted into %s", name, settings.Home.RepositoryFile())
......
Markdown is supported
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