Skip to content

test: migrate ssl and stream route commands to ginkgo e2e - #3

Open
guoqqqi wants to merge 2 commits into
test/e2e-consumer-and-protofrom
test/e2e-ssl-and-stream-route
Open

test: migrate ssl and stream route commands to ginkgo e2e#3
guoqqqi wants to merge 2 commits into
test/e2e-consumer-and-protofrom
test/e2e-ssl-and-stream-route

Conversation

@guoqqqi

@guoqqqi guoqqqi commented Apr 12, 2026

Copy link
Copy Markdown
Owner

Summary

  • migrate ssl and stream-route command coverage from mocked Admin API tests to real Ginkgo E2E coverage
  • keep only local unit tests for CLI validation and self-contained logic
  • enable stream mode in the local APISIX docker test config so stream-route E2E can run against the real Admin API
  • intended as stacked helper PR on the fork because upstream base branches are not writable from the current account

Validation

  • go test ./pkg/cmd/ssl/... ./pkg/cmd/streamroute/...
  • go test -c -tags e2e ./test/e2e
  • go test -tags e2e ./test/e2e -run TestE2E -ginkgo.focus="ssl command" -ginkgo.v
  • go test -tags e2e ./test/e2e -run TestE2E -ginkgo.focus="stream-route command" -ginkgo.v

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant