We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e4f709 commit 12234faCopy full SHA for 12234fa
test/e2e/scaffold/apisix_deployer.go
@@ -111,6 +111,14 @@ func (s *APISIXDeployer) AfterEach() {
111
if output != "" {
112
_, _ = fmt.Fprintln(GinkgoWriter, output)
113
}
114
+
115
+ if framework.ProviderType == framework.ProviderTypeAPISIXStandalone && s.adminTunnel != nil {
116
+ client := NewClient("http", s.adminTunnel.Endpoint())
117
+ reporter := &ErrorReporter{}
118
+ body := client.GET("/apisix/admin/configs").WithHeader("X-API-KEY", s.AdminKey()).WithReporter(reporter).Expect().Body().Raw()
119
+ _, _ = fmt.Fprintln(GinkgoWriter, "Dumping APISIX configs:")
120
+ _, _ = fmt.Fprintln(GinkgoWriter, body)
121
+ }
122
123
124
// Delete all additional gateways
0 commit comments