JieTrancender commented on issue #950:
URL:
https://github.com/apache/apisix-dashboard/issues/950#issuecomment-737138958
Get more information by adding some log.
After the first time to exec `make api-test`, get a test error. at the same
time, dirty data keep in etcd.
~~~
TestRoute: route_test.go:396:
Error Trace: route_test.go:396
Error: Expected nil, but got:
&errors.errorString{s:"schema validate failed: script: String length must be
greater than or equal to 10"}
~~~

Then, exec `make api-test` will repeat this problem.
Failure assertion code is:
https://github.com/apache/apisix-dashboard/blob/b4ad55d405cb61b97b9147d2924ab8121fa0e406/api/internal/handler/route/route_test.go#L393
The Verified format is so complex, find where making wrong is difficult for
me 😬 😬 .
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]