ccxhwmy commented on PR #7412:
URL: https://github.com/apache/apisix/pull/7412#issuecomment-1186800356

   > 
   
   
   
   > > > Please make the CI pass, thanks!
   > > 
   > > 
   > > I don't know why this [ci 
error](https://github.com/apache/apisix/runs/7362090026?check_suite_focus=true#step:18:829)
 is reported here, Would you give me some suggestion.
   > 
   > The error message is:
   > 
   > ```
   > Bailout called.  Further testing stopped:  t/plugin/prometheus.t TEST 42: 
fetch the prometheus multiple shared dict data - You asked for many requests, 
the expected results should be arrays as well.
   > FAILED--Further testing stopped: t/plugin/prometheus.t TEST 42: fetch the 
prometheus multiple shared dict data - You asked for many requests, the 
expected results should be arrays as well.
   > ```
   > 
   > You can look up it.
   
   The error message report that `You asked for many requests, the expected 
results should be arrays as well.`, but the test case is:
   ```lua
   === TEST 42: fetch the prometheus multiple shared dict data
   --- request eval
   ["GET /apisix/prometheus/metrics",
   "GET /apisix/prometheus/metrics",
   "GET /apisix/prometheus/metrics",
   "GET /apisix/prometheus/metrics",
   "GET /apisix/prometheus/metrics",
   "GET /apisix/prometheus/metrics",
   "GET /apisix/prometheus/metrics",
   "GET /apisix/prometheus/metrics"]
   --- response_body_like eval
   [qr/.*apisix_shared_dict_capacity_bytes{name="internal-status"} \d+(?:.|\n)*
   apisix_shared_dict_free_space_bytes{name="internal-status"} \d+.*/,
   qr/.*apisix_shared_dict_capacity_bytes{name="upstream-healthcheck"} 
\d+(?:.|\n)*
   apisix_shared_dict_free_space_bytes{name="upstream-healthcheck"} \d+.*/,
   qr/.*apisix_shared_dict_capacity_bytes{name="worker-events"} \d+(?:.|\n)*
   apisix_shared_dict_free_space_bytes{name="worker-events"} \d+.*/,
   qr/.*apisix_shared_dict_capacity_bytes{name="lrucache-lock"} \d+(?:.|\n)*
   apisix_shared_dict_free_space_bytes{name="lrucache-lock"} \d+.*/,
   qr/.*apisix_shared_dict_capacity_bytes{name="balancer-ewma"} \d+(?:.|\n)*
   apisix_shared_dict_free_space_bytes{name="balancer-ewma"} \d+.*/,
   qr/.*apisix_shared_dict_capacity_bytes{name="balancer-ewma-locks"} 
\d+(?:.|\n)*
   apisix_shared_dict_free_space_bytes{name="balancer-ewma-locks"} \d+.*/,
   qr/.*apisix_shared_dict_capacity_bytes{name="balancer-ewma-last-touched-at"} 
\d+(?:.|\n)*
   apisix_shared_dict_free_space_bytes{name="balancer-ewma-last-touched-at"} 
\d+.*/,
   qr/.*apisix_shared_dict_capacity_bytes{name="etcd-cluster-health-check"} 
\d+(?:.|\n)*
   apisix_shared_dict_free_space_bytes{name="etcd-cluster-health-check"} \d+.*/]
   ```
   which has a array result. and commit 
[dbf7e7e](https://github.com/apache/apisix/pull/7412/commits/dbf7e7eca3f4eba79e978021614054cfc190061a)
 have a similar test case: 
https://github.com/apache/apisix/blob/dbf7e7eca3f4eba79e978021614054cfc190061a/t/plugin/prometheus.t#L665,
 so this ci error confused 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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to