aws-cloudformation / aws-cloudformation/cloudformation-cli

List handler time out issue

Aperta
#809 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
336
Fork
172
Merge medio
3g 5m
PR unite (30g)
3

Descrizione

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?

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Inizia con il test del contratto per il gestore dell’elenco di AWS::CodeGuruReviewer::RepositoryAssociation e traccia il modo in cui gestisce nextToken. Riproduci il caso di verifica della registrazione con una risorsa trovata, quindi conferma che il test del contratto interrompa l’elencazione non appena la risorsa viene trovata ed eviti il timeout.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
aws, python
Ambito
backend, testing
Tipo di issue
Bug
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.