public interface TestJob
```java Testing.withSimulatedTimeLocalCluster(new TestJob() { public void run(Cluster cluster) { // your testing logic here. } }); ```
Modifier and Type | Method and Description |
---|---|
void |
run(ILocalCluster cluster)
run the testing logic with the cluster.
|
void run(ILocalCluster cluster) throws Exception
cluster
- the cluster which created by Testing.withSimulatedTimeLocalCluster
and Testing.withTrackedCluster
.Exception
Copyright © 2023 The Apache Software Foundation. All rights reserved.