You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Look into replacing Boulder tests w/ Pebble tests (or removing it entirely) #9898
This has made unit and integrated tests very easy. There is a bit of an overhead to spin up pebble for each test, but the entire pebble database is localized to the test.
oh nice! that's a handy setup. though actually, certbot's already got a harness for running pebble tests (i didn't do a great job explaining this in the issue description), we just also have a parallel set of tests that use boulder which we run in certain circumstances.
Activity
jvanasco commentedon Feb 9, 2024
FYI, I implemented pebble tests for our client in a very simple but inelegant way.
I use a decorator to spin up a version of pebble for each test (https://github.com/aptise/peter_sslers/blob/main/tests/_utils.py#L288-L334) using psutil.
I also manipulate the hosts file on the github setup (https://github.com/aptise/peter_sslers/blob/main/.github/workflows/core-tests.yml#L48-L51)
This has made unit and integrated tests very easy. There is a bit of an overhead to spin up pebble for each test, but the entire pebble database is localized to the test.
wgreenberg commentedon Feb 9, 2024
oh nice! that's a handy setup. though actually, certbot's already got a harness for running pebble tests (i didn't do a great job explaining this in the issue description), we just also have a parallel set of tests that use boulder which we run in certain circumstances.
wgreenberg commentedon Feb 28, 2024
With letsencrypt/pebble#433 landed, this is just blocked on the next Pebble release, which itself is blocked pending their CI overhaul (letsencrypt/pebble#444).
wgreenberg commentedon Mar 14, 2024
New pebble release is out, so this should be good to go. I'll open a PR shortly
Replace boulder tests with pebble (#9918)