Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft: e2e tests #119

Draft
wants to merge 19 commits into
base: master
Choose a base branch
from
Prev Previous commit
Next Next commit
wip
  • Loading branch information
Erez Fishhimer committed Apr 28, 2022
commit 430c718a797e9c84386544a3150608aa47f9e18b
2 changes: 1 addition & 1 deletion e2e/utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ func LoadDockerImageToCluster(cluster, image string) error {
}

func HttpReqFromCurlToHttpbin() error {
cmd := exec.Command("kubectl", "-n", "test", "exec", "-it", fmt.Sprintf("%s/%s", "service", "curl"), "-c", "curl", "--", "curl", "-H", "Content-Type: application/json", "httpbin.test.svc.cluster.local:80/get")
cmd := exec.Command("kubectl", "-n", "test", "exec", "-i", fmt.Sprintf("%s/%s", "service", "curl"), "-c", "curl", "--", "curl", "-H", "Content-Type: application/json", "httpbin.test.svc.cluster.local:80/get")

out, err := cmd.CombinedOutput()
if err != nil {
Expand Down