Fork me on GitHub
#babashka-sci-dev
<
2022-12-30
>
lispyclouds13:12:12

continuing the reliable http service discussion here: found https://github.com/mccutchen/go-httpbin but it doesnt have releases, maybe we can build and host the binaries somewhere and pull into the CI when needed? the code in the repo seems quite well done and self contained to be used in most places

borkdude14:12:08

@rahul080327 worth an experiment, I'd say let's test it inside the babashka.curl library in a branch

borkdude14:12:40

and else we'll just mark http tests as :flaky and skip those on master, I still think that's better than having to run a go binary locally tbh

lispyclouds14:12:39

yeah no doubts on the flaky tests approach, this is more from an "integration tests" perspective

lispyclouds14:12:11

we wont be doing https calls with this though, setting that up with certs is gonna be a headache

borkdude14:12:17

I'd say let's not bother with this at all then

borkdude14:12:29

all tests currently are doing https

borkdude14:12:57

I prefer the low tech solution, it's the only way to not make the local testing more complicated

lispyclouds14:12:19

yeah i'll go look for more options

lispyclouds14:12:25

maybe you could try the tests with https://httpbingo.org/ if thats any better 😛

lispyclouds14:12:05

given any hosted service, its gonna suck at some point i suppose