Add no-prune to debug test as well, since there are multiple tests that rely on the same images
@@ -17,9 +17,8 @@ limitations under the License.
package integration
import (
+ "github.com/cGoogleContainerTools/skaffold/integration/skaffold"
"testing"
-
- "github.com/GoogleContainerTools/skaffold/integration/skaffold"
)
func TestDebug(t *testing.T) {
@@ -40,12 +39,13 @@ func TestDebug(t *testing.T) {
{
description: "kubectl",
dir: "testdata/debug",
+ args: []string{"--no-prune=true"},
deployments: []string{"jib"},
pods: []string{"nodejs", "npm", "python3"},
},
{
description: "kustomize",
- args: []string{"--profile", "kustomize"},
+ args: []string{"--profile", "kustomize", "--no-prune=true"},
dir: "testdata/debug",
deployments: []string{"jib"},
pods: []string{"nodejs", "npm", "python3"},
