Skip to content

Commit

Permalink
add forgotten counter reset before tests
Browse files Browse the repository at this point in the history
  • Loading branch information
aubi committed May 13, 2022
1 parent 1acd002 commit f4839ef
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import org.jboss.arquillian.container.test.api.Deployment;
import org.jboss.shrinkwrap.api.ShrinkWrap;
import org.jboss.shrinkwrap.api.spec.WebArchive;
import org.testng.annotations.BeforeMethod;
import org.testng.annotations.Test;

import ee.jakarta.tck.concurrent.common.CommonTriggers;
Expand All @@ -49,6 +50,11 @@ public static WebArchive createDeployment() {
TriggerTests.class.getPackage());
}

@BeforeMethod
public void reset() {
StaticCounter.reset();
}

/*
* @testName: triggerGetNextRunTimeTest
*
Expand Down

0 comments on commit f4839ef

Please sign in to comment.