Skip to content

Commit

Permalink
Merge pull request #4451 from rmol/fix-4433-tbb-flakes
Browse files Browse the repository at this point in the history
Fix Marionette, low-entropy and mock-induced test flakes.
  • Loading branch information
redshiftzero authored May 20, 2019
2 parents 72ed2e3 + 8b19c79 commit 82eed07
Show file tree
Hide file tree
Showing 14 changed files with 249 additions and 214 deletions.
2 changes: 1 addition & 1 deletion securedrop/dockerfiles/xenial/python2/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN curl -LO https://ftp.mozilla.org/pub/firefox/releases/${FF_ESR_VER}/linux-x8

COPY ./tor_project_public.pub /opt/

ENV TBB_VERSION 8.0.8
ENV TBB_VERSION 8.0.9
RUN gpg --import /opt/tor_project_public.pub && \
wget https://www.torproject.org/dist/torbrowser/${TBB_VERSION}/tor-browser-linux64-${TBB_VERSION}_en-US.tar.xz && \
wget https://www.torproject.org/dist/torbrowser/${TBB_VERSION}/tor-browser-linux64-${TBB_VERSION}_en-US.tar.xz.asc && \
Expand Down
2 changes: 1 addition & 1 deletion securedrop/dockerfiles/xenial/python3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ RUN curl -LO https://ftp.mozilla.org/pub/firefox/releases/${FF_ESR_VER}/linux-x8

COPY ./tor_project_public.pub /opt/

ENV TBB_VERSION 8.0.8
ENV TBB_VERSION 8.0.9
RUN gpg --import /opt/tor_project_public.pub && \
wget https://www.torproject.org/dist/torbrowser/${TBB_VERSION}/tor-browser-linux64-${TBB_VERSION}_en-US.tar.xz && \
wget https://www.torproject.org/dist/torbrowser/${TBB_VERSION}/tor-browser-linux64-${TBB_VERSION}_en-US.tar.xz.asc && \
Expand Down
4 changes: 2 additions & 2 deletions securedrop/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ def alembic_config(config):
@pytest.fixture(scope='function')
def source_app(config):
app = create_source_app(config)
app.config['SERVER_NAME'] = 'localhost'
app.config['SERVER_NAME'] = 'localhost.localdomain'
with app.app_context():
db.create_all()
yield app
Expand All @@ -150,7 +150,7 @@ def source_app(config):
@pytest.fixture(scope='function')
def journalist_app(config):
app = create_journalist_app(config)
app.config['SERVER_NAME'] = 'localhost'
app.config['SERVER_NAME'] = 'localhost.localdomain'
with app.app_context():
db.create_all()
yield app
Expand Down
Loading

0 comments on commit 82eed07

Please sign in to comment.