Page MenuHomePhabricator

Tests for swagger spec stream routes in EventStreams
Closed, DeclinedPublic5 Estimated Story Points

Description

service-template-node uses preq and Swagger specs to do automated testing (and monitoring in production), but preq won't work with http stream endpoints, as the response never finishes, and the promise never resolves. We need to figure out a way to test stream http endpoints in service-template.

Event Timeline

Or, perhaps we should just wait until this happens:
https://github.com/go-swagger/go-swagger/issues/150

If it ever does, this will be easy! (maybe?)

Milimetric subscribed.

the automated testing doesn't work easily with this, it's too much work to make it work.