add itests covering transport-connection interruption and reconnection logic

Aperta
#450 0 commenti 0 reazioni 1 assegnatario Vedi su GitHub

@positiveblue ci sta già lavorando.

Dal 23/5/2023.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

Description

When Pool's auctioneer or various subservices that interact with Pool client are restarted, trading clients often times have a don't reconnect well to the Auctioneer

Pool's main state machine should
[] properly wrap all errors [how]
[] Inspection if it was a connection issue/interruption
[] Pass connection interruption events to the reconnection logic

Action Items:
[] Add itest to validate all connection termination events are properly handled by Pool.

Shaping

Check what kind of error is returned when Aperture is killed?
- Is it a wrapped error?
Cannot be decoded because it’s just a string
Only works if it’s an error struct
Prob easy to test with setup appt kill and observe the error

https://github.com/lightninglabs/pool/blob/master/auctioneer/client.go#L1049

UX expectations

As long as the Auctioneer and the Client are running and connected to the network, they will eventually reconnect regardless of previous connection fluctuations.

Lingua principale
Go
Stelle
256
Fork
53
Merge medio
20h 22m
PR unite (30g)
5

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di lightninglabs/pool

Tutte le issue di lightninglabs/pool

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.