stillfox-lee commented on PR #1056: URL: https://github.com/apache/apisix-ingress-controller/pull/1056#issuecomment-1142238732
@tao12345666333
Hi, I saw you fix wolf-rbac test case issue. But I still can't pass e2e-test
although I merged master branch. I'm not sure if three is something wrong with
my env or wolf-rbac test case?
Here is the error message:
```
• Failure [111.542 seconds]
suite-features: ApisixConsumer
/Users/liaosiyi/Developer/github/stillfox-lee/apisix/apisix-ingress-controller/test/e2e/suite-features/consumer.go:30
ApisixRoute with wolfRBAC consumer using secret [It]
/Users/liaosiyi/Developer/github/stillfox-lee/apisix/apisix-ingress-controller/test/e2e/suite-features/consumer.go:511
Error Trace: reporter.go:23
reporter.go:23
chain.go:21
response.go:585
response.go:151
consumer.go:614
runner.go:113
runner.go:64
it_node.go:26
spec.go:215
spec.go:138
spec_runner.go:200
spec_runner.go:170
spec_runner.go:66
suite.go:79
ginkgo_dsl.go:238
ginkgo_dsl.go:213
e2e_test.go:26
Error:
Error Trace: reporter.go:23
chain.go:21
response.go:585
response.go:151
consumer.go:614
runner.go:113
runner.go:64
it_node.go:26
spec.go:215
spec.go:138
spec_runner.go:200
spec_runner.go:170
spec_runner.go:66
suite.go:79
ginkgo_dsl.go:238
ginkgo_dsl.go:213
e2e_test.go:26
Error:
expected status equal to:
"200 OK"
but got:
"500 Internal Server Error"
Test: suite-features: ApisixConsumer ApisixRoute with
wolfRBAC consumer using secret
```
The second error looks like a string format issue. It got an unexpected
'\n'. But I have no idea how to fix it.
```
------------------------------
• Failure [62.149 seconds]
suite-features: ApisixConsumer
/Users/liaosiyi/Developer/github/stillfox-lee/apisix/apisix-ingress-controller/test/e2e/suite-features/consumer.go:30
ApisixRoute with wolfRBAC consumer [It]
/Users/liaosiyi/Developer/github/stillfox-lee/apisix/apisix-ingress-controller/test/e2e/suite-features/consumer.go:393
Error Trace: consumer.go:422
runner.go:113
runner.go:64
it_node.go:26
spec.go:215
spec.go:138
spec_runner.go:200
spec_runner.go:170
spec_runner.go:66
suite.go:79
ginkgo_dsl.go:238
ginkgo_dsl.go:213
e2e_test.go:26
Error: Not equal:
expected: map[string]interface {}{"appid":"test-app",
"header_prefix":"X-", "server":"http://-n 172.25.0.1 :12180"}
actual : map[string]interface {}{"appid":"test-app",
"header_prefix":"X-", "server":"http://-n 172.25.0.1\n:12180"}
Diff:
--- Expected
+++ Actual
@@ -3,3 +3,3 @@
(string) (len=13) "header_prefix": (string) (len=2)
"X-",
- (string) (len=6) "server": (string) (len=27)
"http://-n 172.25.0.1 :12180"
+ (string) (len=6) "server": (string) (len=27)
"http://-n 172.25.0.1\n:12180"
}
Test: suite-features: ApisixConsumer ApisixRoute with
wolfRBAC consumer
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
