New ๐ŸŒŠ wave for @helm

Commit b303c8c2

b303c8c2dbb9Merged

Svyatoslav Dumchenko <[email protected]> ยท 4 years ago ยท 2 files ยท ~2 modified

Description

parallel tests a bit

Details

Commit
b303c8c2dbb9
Parent
66eb848d02f2

pkg/action/build_test.gomodifiedView file

@@ -1,4 +1,4 @@
1-//go:build ignore || integration
1+//go:build ignore || unit
22
33 package action
44
@@ -179,27 +179,8 @@
179179 diffMode: diffModeLocal,
180180 }
181181
182- ts.Require().NoError(s.Run())
183-}
184-
185-func (ts *BuildTestSuite) TestDiffLive() {
186- tmpDir := ts.T().TempDir()
187- y := &Yml{
188- filepath.Join(tests.Root, "08_helmwave.yml"),
189- filepath.Join(tmpDir, "08_values.yml"),
190- }
191-
192- s := &Build{
193- plandir: tmpDir,
194- tags: cli.StringSlice{},
195- matchAll: true,
196- autoYml: true,
197- yml: y,
198- diff: &Diff{},
199- diffMode: diffModeLive,
200- }
201-
202- ts.Require().NoError(s.Run())
182+ ts.Require().NoError(s.Run(), "build should not fail without diffing")
183+ ts.Require().NoError(s.Run(), "build should not fail with diffing with previous plan")
203184 }
204185
205186 func TestBuildTestSuite(t *testing.T) {