-
Notifications
You must be signed in to change notification settings - Fork 5
cellgeolocation e2e tests fail very often #455
Comments
Funny, that right after I created this issue, the next commit passed: a96e119 |
After adding enabling logging on the HTTP API, here is an example where the requests fail with a
However the request is not logged in the API Gateway logs, so it seems to not reach the API Gateway. |
This cache setting seems to be the culprit: aws/cellGeolocation/httpApi/cell.ts Line 100 in 6d7d169
In case the cell is not found in the first request (which is entirely possible), all subsequent requests will return the same answer, because it is cached on API Gateway. Adding the ability to bust the cache could solve the issues. |
This adds the ability to bust the cache of the cell geolocation GET endpoint. See #455
Check if API is ready before testing See #455
Right now it is not reliably possible to enable logging for ApiGatewayV2: https://github.com/bifravst/aws/runs/1291851657?check_suite_focus=true
AWS Support ticket: https://console.aws.amazon.com/support/home#/case/?displayId=7520944471&language=en (in Account See also https://forums.aws.amazon.com/thread.jspa?messageID=939643󥙻 |
|
This allows to check that the API itself is working before running functional tests. See #455
I now have logs and runs that should help to figure out the cause of the issue, so I've created another support case: AWS Support ticket: https://console.aws.amazon.com/support/home#/case/?displayId=7526446591&language=en (in Account
|
My takeaways from the screensharing session with the AWS support are: After adding the $default route (with no integration) to the HTTP API stage, the request which previously did not work, started to work. It also kept working after removing the $default stage. This points to either
So, the first attempt to solve this is to add a blank $default stage (see da0bf06) and see if this improves the flaky behaviour. The second option would be to try to trigger another HTTP API stage deployment after CloudFormation has finished setting up the deployment through the AWS CLI to ensure a complete deployment exists on the API. |
Still no failed tests because of CellGeolocation and 4 releases, so this workaround seems to have fixed the problem. |
Most of the failed e2e tests are due to the cellgeolocation API.
This should be improved.
The text was updated successfully, but these errors were encountered: