aws-cloudformation / aws-cloudformation/cloudformation-cli

List handler time out issue

Đang mở
#809 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
336
Fork
172
Merge trung bình
3 ngày 5 phút
Pull request đã merge (30 ngày)
3

Mô tả

I implemented the list handler for resource AWS::CodeGuruReviewer::RepositoryAssociation. Our service uses DynamoDB and the list handler will call the api as long as the nextToken is not null.

In our prod account, as the canary test, the amount of data is large and caused the registration verification test failed.

In contract test, can we check whether the resource has found, if found, no list call anymore?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu với contract test cho list handler của AWS::CodeGuruReviewer::RepositoryAssociation và theo dõi cách nó xử lý nextToken. Tái hiện trường hợp xác minh đăng ký với một tài nguyên được tìm thấy, sau đó xác nhận rằng contract test dừng việc liệt kê ngay khi tìm thấy tài nguyên và tránh được timeout.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
aws, python
Lĩnh vực
backend, testing
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.