Class StressTester


  • public class StressTester
    extends java.lang.Object
    /** A class for stress-testing config server and config proxy. Includes an RPC server interface for communicating with test classes that implement the Tester interface.
    Author:
    hmusum
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  StressTester.RpcServer  
    • Constructor Summary

      Constructors 
      Constructor Description
      StressTester​(java.lang.String testClass)  
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      void stop()  
      boolean verify​(long generation, long timeout, java.lang.String verificationFile)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • StressTester

        public StressTester​(java.lang.String testClass)
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
        Parameters:
        args - command-line arguments
      • verify

        public boolean verify​(long generation,
                              long timeout,
                              java.lang.String verificationFile)
                       throws java.lang.InterruptedException
        Throws:
        java.lang.InterruptedException
      • stop

        public void stop()