Skip to content

Commit

Permalink
Reduce logging output
Browse files Browse the repository at this point in the history
Closes: CCI-315

test plan:
- no 30k worth of lines in the psql import step

flag = none

Change-Id: If849f49655aa2fe3018fbfe7b71a2eb7873abd34
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/232991
Reviewed-by: Rex Fleischer <[email protected]>
Reviewed-by: Jacob Powell <[email protected]>
Reviewed-by: James Butters <[email protected]>
Tested-by: Service Cloud Jenkins <[email protected]>
QA-Review: Derek Bender <[email protected]>
Product-Review: Derek Bender <[email protected]>
  • Loading branch information
djbender committed Apr 9, 2020
1 parent e9b7ffe commit a409162
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build/new-jenkins/rspec_parallel_dockers.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ parallel --will-cite

# Clone database
seq $((DOCKER_PROCESSES-1)) | parallel "docker-compose exec -T postgres sh -c 'createdb -U postgres -T template0 canvas_test{}'"
seq $((DOCKER_PROCESSES-1)) | parallel "docker-compose exec -T postgres sh -c 'pg_dump -U postgres canvas_test0 | psql -U postgres canvas_test{}'"
seq $((DOCKER_PROCESSES-1)) | parallel "docker-compose exec -T postgres sh -c 'pg_dump -U postgres canvas_test0 | psql -o /dev/null --quiet -U postgres canvas_test{}'"
seq $((DOCKER_PROCESSES-1)) | parallel "docker-compose exec -T -e DATABASE_URL=postgres://postgres:sekret@postgres:5432/canvas_test{} web bundle exec rails runner \"require 'switchman/test_helper'; Switchman::TestHelper.recreate_persistent_test_shards\""

# Run each group of tests in separate docker container
Expand Down

0 comments on commit a409162

Please sign in to comment.