Skip to content

Commit

Permalink
Test against current boulder release
Browse files Browse the repository at this point in the history
  • Loading branch information
mswart committed Nov 27, 2016
1 parent a834911 commit 13e741b
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion tests/scripts/setup-boulder.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ eval "$(gimme 1.5)"
export GOPATH=~/build/go
export PATH=$PATH:$GOPATH/bin
mkdir -p $GOPATH/src/github.com/letsencrypt/
git clone git://github.com/letsencrypt/boulder.git --branch release-2015-12-07 $GOPATH/src/github.com/letsencrypt/boulder
git clone git://github.com/letsencrypt/boulder.git --branch release-2016-07-14 $GOPATH/src/github.com/letsencrypt/boulder
cd $GOPATH/src/github.com/letsencrypt/boulder
sed -i -e 's/root@tcp/boulder:test@tcp/' policy/_db/dbconf.yml sa/_db/dbconf.yml
sed -i -e 's/-u root/-u boulder -ptest/' test/create_db.sh
Expand Down
4 changes: 2 additions & 2 deletions tests/scripts/setup-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
set -ex
# add ppa for mariadb and rabbitmq (needs newer versions)
apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xcbcb082a1bb943db
echo 'deb http://mirror2.hs-esslingen.de/mariadb/repo/10.0/ubuntu trusty main' > /etc/apt/sources.list.d/mariadb.list
echo 'deb http://mirror2.hs-esslingen.de/mariadb/repo/10.1/ubuntu trusty main' > /etc/apt/sources.list.d/mariadb.list
# update package list
apt-get update
# install packages
apt-get install -yV libltdl-dev mariadb-server mariadb-server-10.0 python2.7
apt-get install -yV libltdl-dev mariadb-server mariadb-server-10.1 python2.7
# configure mariadb
# todo
mysql -u root <<EOF
Expand Down
2 changes: 1 addition & 1 deletion tests/test_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ def test_rate_limit_on_certificate_creation(registered_account_dir, http_server,
m = server.ACMEAbstractHandler.manager = MA(registered_account_dir, validator=http_server)
authzrs = m.acquire_domain_validations(http_server, domains)
assert len(authzrs) is 1
for i in range(2):
for i in range(6):
certs = m.issue_certificate(csr, authzrs)
assert len(certs) == 2
with pytest.raises(exceptions.RateLimited) as e:
Expand Down
2 changes: 1 addition & 1 deletion tests/test_server.py
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ def test_mgmt_reject_correct_ip_but_wrong_hmac_type(http_server, mgmt_server, ck


@pytest.mark.boulder
def test_mgmt_reject_to_long_csr(registered_account_dir, http_server, mgmt_server, ckey):
def test_mgmt_reject_too_long_csr(registered_account_dir, http_server, mgmt_server, ckey):
server.ACMEAbstractHandler.manager = M('''
[account]
dir = {}
Expand Down

0 comments on commit 13e741b

Please sign in to comment.