Skip to content

Commit

Permalink
Remove test.js. (#2549)
Browse files Browse the repository at this point in the history
It's been replaced with chisel.py, which uses the Python acme module.

Add instructions on installing dependencies for integration test.
  • Loading branch information
jsha authored Feb 6, 2017
1 parent 8521bd1 commit c00e4cb
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 1,150 deletions.
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,6 @@ _obj
_test
bin

# Test files
test/js/node_modules
test/js/*.pem
test/github-secret.json

# Architecture specific extensions/prefixes
*.[568vq]
[568vq].out
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,15 @@ or changed the password you may have to adjust the file or recreate the commands
Install SoftHSM to store the CA private key in a way that can be accessed using
PKCS#11. Then run ./test/make-softhsm.sh and follow its instructions.

Install Python packages for integration test:

virtualenv venv
. venv/bin/activate
pip install -r test/requirements.txt
# If you want to develop against a locally modified Python acme package,
# this will install the package such that updates are reflected immediately:
pip install -e ~/certbot/acme[dev]

Start all boulder components with test configs (Ctrl-C kills all):

./start.py
Expand Down
4 changes: 2 additions & 2 deletions docs/load-testing.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,11 @@ Run a local Boulder instance:

local-machine$ docker-compose up

Issue a bunch of certificates with test.js, ideally a few thousand
Issue a bunch of certificates with chisel.py, ideally a few thousand
(corresponding to the default batch size of 5000 in ocsp-updater.json, to make
sure each batch is maxed out):

local-machine$ while true; do nodejs test.js --domains $(openssl rand -hex 4).com ; done
local-machine$ while true; do python test/chisel.py $(openssl rand -hex 4).com ; done

Use the local Prometheus instance to graph the number of complete gRPC calls:

Expand Down
19 changes: 0 additions & 19 deletions test/js/README.md

This file was deleted.

68 changes: 0 additions & 68 deletions test/js/acme-util.js

This file was deleted.

94 changes: 0 additions & 94 deletions test/js/acme.js

This file was deleted.

Loading

0 comments on commit c00e4cb

Please sign in to comment.