Skip to content

Commit 6744f85

Browse files
kuujierikkrieg
andcommitted
adds test case for concurrent deploy
Co-authored-by: erikkrieg <erik.c.krieg@gmail.com>
1 parent 8c02add commit 6744f85

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

pkg/devspace/deploy/deploy_test.go

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -137,6 +137,21 @@ func TestDeploy(t *testing.T) {
137137
Deployments: map[string]*generated.DeploymentCache{},
138138
},
139139
},
140+
{
141+
name: "Deploy concurrently",
142+
deployments: []*latest.DeploymentConfig{
143+
{
144+
Name: "concurrentDeploy",
145+
Kubectl: &latest.KubectlConfig{
146+
Manifests: []string{},
147+
},
148+
Concurrent: true,
149+
},
150+
},
151+
cache: &generated.CacheConfig{
152+
Deployments: map[string]*generated.DeploymentCache{},
153+
},
154+
},
140155
}
141156

142157
for _, testCase := range testCases {

0 commit comments

Comments
 (0)