Skip to content

Commit

Permalink
Add logs config to e2e
Browse files Browse the repository at this point in the history
  • Loading branch information
mgarabed committed Jul 22, 2020
1 parent 0f83ebf commit ec5f2e3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions mapreduce/tests/compose/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ services:
- "8088:8088"
volumes:
- './yarn-site.xml:/usr/local/hadoop/etc/hadoop/yarn-site.xml'
- ${DD_LOG_1}:/usr/local/hadoop/logs/hadoop-root-namenode-localhost.log
- ${DD_LOG_2}:/usr/local/hadoop/logs/hadoop-root-datadnode-localhost.log
1 change: 1 addition & 0 deletions mapreduce/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ def dd_environment():
with docker_run(
compose_file=os.path.join(HERE, "compose", "docker-compose.yaml"),
conditions=[WaitFor(setup_mapreduce, attempts=240, wait=5)],
mount_logs=True,
env_vars=env,
):
yield INSTANCE_INTEGRATION
Expand Down

0 comments on commit ec5f2e3

Please sign in to comment.