Skip to content

Commit

Permalink
Set debug logging in e2e tests (#897)
Browse files Browse the repository at this point in the history
* Set debug logging in e2e tests

* Add env vars
  • Loading branch information
aarontp authored Sep 1, 2021
1 parent e631076 commit 854a84e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions docker/local/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ services:
environment:
- LC_ALL=C.UTF-8
- LANG=C.UTF-8
- TURBINIA_EXTRA_ARGS=${TURBINIA_EXTRA_ARGS}

turbinia-worker:
#image: "turbinia-worker-dev" # Use this for local development and comment out below line
Expand All @@ -41,6 +42,7 @@ services:
environment:
- LC_ALL=C.UTF-8
- LANG=C.UTF-8
- TURBINIA_EXTRA_ARGS=${TURBINIA_EXTRA_ARGS}

# Uncomment below in case you want to run a second worker on the same host.
# turbinia-worker2:
Expand Down
3 changes: 2 additions & 1 deletion turbinia/e2e/e2e-local.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ echo "==> Copy test artifacts to /evidence"
cp ./test_data/artifact_disk.dd ./evidence/

echo "==> Startup local turbinia docker-compose stack"
export TURBINIA_EXTRA_ARGS="-d"
docker-compose -f ./docker/local/docker-compose.yml up -d

echo "==> Sleep for 5s"
Expand Down Expand Up @@ -58,4 +59,4 @@ docker logs turbinia-worker
echo "==> Show evidence volume contents in worker"
docker exec -t turbinia-worker ls -al /evidence/

exit $RET
exit $RET

0 comments on commit 854a84e

Please sign in to comment.