cloudwan / gohan

Gohan is an API Gateway Server written by Go that makes it easy for developers to create and maintain REST-style API
http://www.slideshare.net/natiueno/gohan-61170476
Other
109 stars 44 forks source link

[ESI-16209] Add a test to document how Watch behaves on delete #599

Closed p-kozlowski closed 6 years ago

p-kozlowski commented 6 years ago

When looking at the code, it was unclear for me what is actually returned when watched key is deleted. This test documents the API contract.

I'm a little bit concerned about possible timing issues, but let's see how this test behaves. I'm open for a discussion how to make it better.