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

feat: ingress v1 #250

Merged
merged 25 commits into from
Feb 23, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
debug
  • Loading branch information
tokers committed Feb 23, 2021
commit a4a4e5fd185749861bf5830419febed65cf886e0
6 changes: 2 additions & 4 deletions test/e2e/scaffold/apisix.go
Original file line number Diff line number Diff line change
Expand Up @@ -235,12 +235,10 @@ func (s *Scaffold) waitAllAPISIXPodsAvailable() error {
ginkgo.GinkgoT().Log("no apisix pods created")
return false, nil
}
cmd := fmt.Sprintf("/usr/local/bin/kubectl logs %s -n %s", items[0].Name, items[0].Namespace)
output, err := exec.Command(cmd).Output()
output, err := exec.Command("/usr/local/bin/kubectl", "logs", items[0].Name, "-n", items[0].Namespace).Output()
ginkgo.GinkgoT().Logf("apisix logs: %s, err: %s", string(output), err)

cmd = fmt.Sprintf("/usr/local/bin/kubectl get pods -n %s", items[0].Namespace)
output, err = exec.Command(cmd).Output()
output, err = exec.Command("/usr/local/bin/kubectl", "get", "pods", items[0].Namespace).Output()
ginkgo.GinkgoT().Logf("pods: %s, err: %s", string(output), err)

for _, item := range items {
Expand Down