test(refactor): Add Toxiproxy Hspec test infrastructure#4836
test(refactor): Add Toxiproxy Hspec test infrastructure#4836mkleczek wants to merge 2 commits intoPostgREST:mainfrom
Conversation
712c0e8 to
e0ffc60
Compare
|
Not sure how to deal with it now - @steve-chavez @wolfgangwalther - any advice? |
e0ffc60 to
f6c3711
Compare
f6c3711 to
decba37
Compare
decba37 to
dbf2b27
Compare
wolfgangwalther
left a comment
There was a problem hiding this comment.
One limitation of using toxiproxy via hspec is, that we can't put toxiproxy between the client and postgrest, but only between postgrest and postgresql, this way, right?
This seems like a pretty big limitation to me - we surely want to test more scenarios eventually?
I feel like we need an approach that works for both cases the same way, so that we can write tests using toxiproxy the same way every time.
fa24956 to
9973489
Compare
This commit introduces toxiproxy in withTools adding the following helpers: * withToxiproxyServer * withToxiproxyProxy * withToxiproxyPgProxy
A followup to #4833 which added
nixsupport fortoxiproxy, adding support functions tohspecobservabilitymodule.