Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Clear TestCounters between consecutive @Tests #11

Merged
merged 1 commit into from Mar 29, 2012

Conversation

Projects
None yet
2 participants
Contributor

tzolov commented Mar 29, 2012

The current TestCounters implementation will not clean its static COUNTERS in case of multiple @test cases in the same class.

I have added TestCounters.clearCounters() for that purpose and have updated the CountersTest to call this method @after each test run. Perhaps It would make sense to clean the counters in the DoFo itself?

jwills added a commit that referenced this pull request Mar 29, 2012

Merge pull request #11 from tzolov/master
Clear TestCounters between consecutive @Tests

@jwills jwills merged commit 1283a8b into cloudera:master Mar 29, 2012

Contributor

jwills commented Mar 29, 2012

Many thanks, Christian. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment