Page MenuHomeSoftware Heritage

docker/conftest: Increase wait-for-it timeouts
ClosedPublic

Authored by anlambert on Apr 7 2020, 4:23 PM.

Details

Summary

When running docker tests locally, some services can take some time to be up
so double associated wait-for-it timeouts

Diff Detail

Repository
rDENV Development environment
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

douardda added a subscriber: douardda.

why calling it _wfi_timeout (with the leading _)?

Also, in the glorious pytest way, this could be implemented as a fixture!

But yeah.

This revision is now accepted and ready to land.Apr 7 2020, 4:51 PM

why calling it _wfi_timeout (with the leading _)?

Also, in the glorious pytest way, this could be implemented as a fixture!

But yeah.

Oh right, seems cleaner indeed. I will update before landing.

Update: use pytest fixture instead of private module variable