fix: Before and After method should not be static

pull/509/head
Rui Gu 9 years ago
parent 963c6d1217
commit 7671e59dea

@ -34,12 +34,12 @@ import org.junit.Before;
public class RedisClientTest {
@Before
public static void before() throws IOException, InterruptedException {
public void before() throws IOException, InterruptedException {
RedisRunner.startDefaultRedisTestInstance();
}
@After
public static void after() throws InterruptedException {
public void after() throws InterruptedException {
RedisRunner.shutDownDefaultRedisTestInstance();
}

Loading…
Cancel
Save