Package io.debezium.kafka
Class ZookeeperServerTest
- java.lang.Object
-
- io.debezium.kafka.ZookeeperServerTest
-
public class ZookeeperServerTest extends Object
- Author:
- Randall Hauch
-
-
Field Summary
Fields Modifier and Type Field Description private FiledataDirprivate ZookeeperServerserver
-
Constructor Summary
Constructors Constructor Description ZookeeperServerTest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterEach()protected voidassertDoesNotExist(File dir)protected voidassertValidDataDirectory(File dir)voidbeforeEach()voidshouldStartServerAndLeaveData()voidshouldStartServerAndRemoveData()
-
-
-
Field Detail
-
server
private ZookeeperServer server
-
dataDir
private File dataDir
-
-
Method Detail
-
beforeEach
public void beforeEach()
-
afterEach
public void afterEach()
-
shouldStartServerAndRemoveData
public void shouldStartServerAndRemoveData() throws Exception- Throws:
Exception
-
shouldStartServerAndLeaveData
public void shouldStartServerAndLeaveData() throws Exception- Throws:
Exception
-
assertValidDataDirectory
protected void assertValidDataDirectory(File dir)
-
assertDoesNotExist
protected void assertDoesNotExist(File dir)
-
-