diff options
Diffstat (limited to 'client/go/internal/vespa/deploy_test.go')
-rw-r--r-- | client/go/internal/vespa/deploy_test.go | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/client/go/internal/vespa/deploy_test.go b/client/go/internal/vespa/deploy_test.go index 693d4527624..ff278578e8a 100644 --- a/client/go/internal/vespa/deploy_test.go +++ b/client/go/internal/vespa/deploy_test.go @@ -151,18 +151,14 @@ func TestFindApplicationPackage(t *testing.T) { fail: true, }) assertFindApplicationPackage(t, dir, pkgFixture{ - expectedPath: filepath.Join(dir, "target", "application.zip"), - existingFiles: []string{filepath.Join(dir, "pom.xml"), filepath.Join(dir, "target", "application.zip")}, - requirePackaging: true, - }) - assertFindApplicationPackage(t, dir, pkgFixture{ - expectedPath: filepath.Join(dir, "target", "application.zip"), - existingFiles: []string{filepath.Join(dir, "target", "application.zip")}, - }) - assertFindApplicationPackage(t, dir, pkgFixture{ expectedPath: filepath.Join(dir, "target", "application"), existingFiles: []string{filepath.Join(dir, "target", "application"), filepath.Join(dir, "target", "application.zip")}, }) + assertFindApplicationPackage(t, dir, pkgFixture{ + expectedPath: filepath.Join(dir, "target", "application"), + expectedTestPath: filepath.Join(dir, "target", "application-test"), + existingFiles: []string{filepath.Join(dir, "target", "application"), filepath.Join(dir, "target", "application-test")}, + }) zip := filepath.Join(dir, "myapp.zip") assertFindApplicationPackage(t, zip, pkgFixture{ expectedPath: zip, |