getlantern / browsersunbounded

Interoperable browser-based P2P proxies for censorship circumvention
GNU General Public License v3.0
14 stars 0 forks source link

Test Broflake egress consumer #179

Open hwh33 opened 1 year ago

hwh33 commented 1 year ago

Splitting this off as a bite-sized piece of https://github.com/getlantern/broflake/issues/173. Specifically, the task is to add tests to getlantern/broflake/clientcore/egress_consumer.go. We should test the happy paths of each of the "states" (the egress consumer is defined as a finite state machine).