continuuity/hadoop_cookbook — pull request #82 by wolf31o2 (2014-08-27 02:16:54+00:00)
Title: Feature/more test coverage

Before:

```
ChefSpec Coverage report generated...

Total Resources: 84
Touched Resources: 74
Touch Coverage: 88.1%

Untouched Resources:

yum_repository[HDP-2.x] hadoop/recipes/repo.rb:74
yum_repository[Updates-HDP-2.x] hadoop/recipes/repo.rb:90
yum_repository[HDP-UTILS-1.1.0.17] hadoop/recipes/repo.rb:98
yum_repository[cloudera-cdh5] hadoop/recipes/repo.rb:144
directory[/tmp/hadoop-mapred/local] hadoop/recipes/hadoop_mapreduce_jobtracker.rb:39
file[/usr/lib/hadoop-yarn/bin/container-executor] hadoop/recipes/hadoop_yarn_nodemanager.rb:43
execute[yarn-remote-app-log-dir] hadoop/recipes/hadoop_yarn_resourcemanager.rb:51
apt_repository[hdp] hadoop/recipes/repo.rb:120
apt_repository[hdp-utils] hadoop/recipes/repo.rb:127
service[zookeeper-server] hadoop/recipes/zookeeper_server.rb:173
```

After:

```
ChefSpec Coverage report generated...

Total Resources: 84
Touched Resources: 78
Touch Coverage: 92.86%

Untouched Resources:

yum_repository[HDP-2.x] hadoop/recipes/repo.rb:74
yum_repository[Updates-HDP-2.x] hadoop/recipes/repo.rb:90
yum_repository[HDP-UTILS-1.1.0.17] hadoop/recipes/repo.rb:98
yum_repository[cloudera-cdh5] hadoop/recipes/repo.rb:144
apt_repository[hdp] hadoop/recipes/repo.rb:120
apt_repository[hdp-utils] hadoop/recipes/repo.rb:127
```