Skip to content

Commit

Permalink
Debug: show pod logs
Browse files Browse the repository at this point in the history
Signed-off-by: Sreekanth <[email protected]>
  • Loading branch information
BulkBeing committed Sep 23, 2024
1 parent 7016796 commit 1822491
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -243,4 +243,4 @@ jobs:
- name: Run tests
env:
GOPATH: /home/runner/go
run: KUBECONFIG=~/.kube/numaflow-e2e-config VERSION=${{ github.sha }} ISBSVC=${{matrix.driver}} SKIP_IMAGE_BUILD=true make test-${{matrix.case}}
run: KUBECONFIG=~/.kube/numaflow-e2e-config VERSION=${{ github.sha }} ISBSVC=${{matrix.driver}} SKIP_IMAGE_BUILD=true make test-${{matrix.case}} || kubectl -n numaflow-system get pods && kubectl -n numaflow-system get pods -l 'numaflow.numaproj.io/vertex-name=in' && kubectl -n numaflow-system describe pods -l 'numaflow.numaproj.io/vertex-name=in' && kubectl -n numaflow-system logs -c numa -l 'numaflow.numaproj.io/vertex-name=in' && kubectl -n numaflow-system logs -c transformer -l 'numaflow.numaproj.io/vertex-name=in'
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ endif
cat test/manifests/e2e-api-pod.yaml | sed '[email protected]/numaproj/@$(IMAGE_NAMESPACE)/@' | sed 's/:latest/:$(VERSION)/' | kubectl -n numaflow-system apply -f -
go generate $(shell find ./test/$* -name '*.go')
go test -v -timeout 15m -count 1 --tags test -p 1 ./test/$*
$(MAKE) cleanup-e2e
#$(MAKE) cleanup-e2e

image-restart:
$(MAKE) image
Expand Down
2 changes: 1 addition & 1 deletion test/transformer-e2e/transformer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ func (s *TransformerSuite) testSourceTransformer(lang string) {
w := s.Given().Pipeline(fmt.Sprintf("@testdata/event-time-filter-%s.yaml", lang)).
When().
CreatePipelineAndWait()
defer w.DeletePipelineAndWait()
//defer w.DeletePipelineAndWait()
pipelineName := fmt.Sprintf("event-time-filter-%s", lang)

// wait for all the pods to come up
Expand Down

0 comments on commit 1822491

Please sign in to comment.