Package org.apache.storm.testing
package org.apache.storm.testing
-
ClassDescriptionThis class implements the
DNSToSwitchMapping
interface It alternates bewteen RACK1 and RACK2 for the hosts.The param class for the `Testing.completeTopology`.A local Zookeeper instance available for testing.The param arg for `Testing.withSimulatedTimeCluster`, `Testing.withTrackedCluster` and `Testing.withLocalCluster`.This is the core interface for the storm java testing, usually we put our java unit testing logic in the run method.A tracked topology keeps metrics for every bolt and spout.