Skip to content

Commit

Permalink
fixed stale test
Browse files Browse the repository at this point in the history
  • Loading branch information
rsvihladremio committed Sep 9, 2024
1 parent 3e1b384 commit 38d9f1e
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions cmd/root/kubectl/kubectl_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,11 @@ func TestKubectCopyFrom(t *testing.T) {
StoredErrors: []error{nil, nil},
}
k := CliK8sActions{
cli: cli,
kubectlPath: "kubectl",
namespace: namespace,
k8sContext: k8sContext,
cli: cli,
kubectlPath: "kubectl",
namespace: namespace,
k8sContext: k8sContext,
retriesEnabled: true,
}
out, err := k.CopyFromHost(podName, source, destination)
if err != nil {
Expand Down Expand Up @@ -147,10 +148,11 @@ func TestKubectCopyFromWindowsHost(t *testing.T) {
StoredErrors: []error{nil, nil},
}
k := CliK8sActions{
cli: cli,
kubectlPath: "kubectl",
namespace: namespace,
k8sContext: k8sContext,
cli: cli,
kubectlPath: "kubectl",
namespace: namespace,
k8sContext: k8sContext,
retriesEnabled: true,
}
out, err := k.CopyFromHost(podName, source, destination)
if err != nil {
Expand Down

0 comments on commit 38d9f1e

Please sign in to comment.