Skip to content

Commit

Permalink
Cache database template across parallel build instances
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin Bach committed Apr 12, 2017
1 parent 4df6903 commit c331be5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ test:
- sudo mv geckodriver /home/ubuntu/bin
- export PATH="$PATH:/home/ubuntu/bin"
override:
- make assets
- make assets:
parallel: true
- make docs
- kalite start --traceback -v2
- sleep 6s # Necessary for server to be ready
- kalite status
- kalite stop --traceback -v2
- case $CIRCLE_NODE_INDEX in 0) coverage run --source=kalite --omit="kalite/testing/*,*/tests/*,*/migrations/*,kalite/packages/*" bin/kalite manage test --bdd-only ;; 1) coverage run --source=kalite --omit="kalite/testing/*,kalite/packages/*,*/tests/*,*/migrations/*" bin/kalite manage test --no-bdd;; esac:
parallel: true
# TODO: replace below with "make lint" when we're pep8
- npm install -g jshint
- jshint kalite/*/static/js/*/
post:
Expand Down
2 changes: 1 addition & 1 deletion kalite/distributed/tests/cli_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def test_thread_manage(self):

def test_start(self):
def cherry_py_stop_thread():
time.sleep(4)
time.sleep(10)
engine.exit()

# Because threads use the database with transactions, we can't run
Expand Down

0 comments on commit c331be5

Please sign in to comment.