Skip to content

Commit

Permalink
chore: add load-generator
Browse files Browse the repository at this point in the history
  • Loading branch information
ldez committed Feb 24, 2024
1 parent de7e517 commit 343359c
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,22 @@ jobs:
- name: go install goveralls
run: go install github.com/mattn/goveralls@latest

# Clone Boulder because the go.mod contains `exclude` directives,
# and so the load-generator cannot be installed with a simple `go install`
- name: Checkout Boulder repository (load-generator)
uses: actions/checkout@v4

with:
repository: letsencrypt/boulder
path: boulder
ref: release-2024-02-20

- name: install load-generator
run: |
cd $GITHUB_WORKSPACE/boulder/test/load-generator
go install
cd -
- name: go install
run: go install -v -race ./...

Expand All @@ -69,3 +85,9 @@ jobs:
# Perform a test issuance with chisel2.py
- name: chisel
run: REQUESTS_CA_BUNDLE=./test/certs/pebble.minica.pem python ./test/chisel2.py example.letsencrypt.org elpmaxe.letsencrypt.org

# Run the load-generator briefly - note, because Pebble isn't using the
# load-generator's mock DNS server none of the issuances will succeed. This
# step is performed just to shake out data races with concurrent requests.
- name: load-generator
run: load-generator -config ./test/config/load-generator-config.json > /dev/null

0 comments on commit 343359c

Please sign in to comment.