Revolyssup commented on code in PR #12629:
URL: https://github.com/apache/apisix/pull/12629#discussion_r2386964537
##########
t/cli/test_etcd_sync_event_handle.sh:
##########
@@ -127,7 +127,7 @@ cat logs/error.log | grep "watchdir err: has no healthy
etcd endpoint available"
## }
## }
## After check, it only appears when watch recovers and returns events in bulk.
-cat logs/error.log | grep "}, {" || (echo "failed: Log case 2 unexpected";
exit 1)
+cat logs/error.log | grep "etcd events sent in bulk" || (echo "failed: Log
case 2 unexpected"; exit 1)
Review Comment:
Since the entire res object is no longer logged. We programmatically assert
in code and log this specific condition to make this test case pass.
--
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]