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
Branch
master
Lint
No Linters Available
Unit
No Unit Test Coverage
Build Status
Buildable 11653
Build 17675: arc lint + arc unit

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