Ejemplo n.º 1
0
def add_options(parser):
    environment.add_options(parser)
    parser.add_option('-d',
                      '--debug',
                      action='store_true',
                      help='utils.pause() statements will wait for user input')
    parser.add_option('-k',
                      '--keep-logs',
                      action='store_true',
                      help='Do not delete log files on teardown.')
    parser.add_option('-q',
                      '--quiet',
                      action='store_const',
                      const=0,
                      dest='verbose',
                      default=1)
    parser.add_option('-v',
                      '--verbose',
                      action='store_const',
                      const=2,
                      dest='verbose',
                      default=1)
    parser.add_option(
        '--skip-build',
        action='store_true',
        help='Do not build the go binaries when running the test.')
    parser.add_option(
        '--skip-teardown',
        action='store_true',
        help='Leave the global processes running after the test is done.')
    parser.add_option('--mysql-flavor')
    parser.add_option('--protocols-flavor')
    parser.add_option('--topo-server-flavor', default='zookeeper')
Ejemplo n.º 2
0
def add_options(parser):
    environment.add_options(parser)
    parser.add_option('-d',
                      '--debug',
                      action='store_true',
                      help='utils.pause() statements will wait for user input')
    parser.add_option('-k',
                      '--keep-logs',
                      action='store_true',
                      help="Don't delete log files on teardown.")
    parser.add_option("-q",
                      "--quiet",
                      action="store_const",
                      const=0,
                      dest="verbose",
                      default=1)
    parser.add_option("-v",
                      "--verbose",
                      action="store_const",
                      const=2,
                      dest="verbose",
                      default=1)
    parser.add_option('--skip-teardown', action='store_true')
    parser.add_option("--mysql-flavor")
    parser.add_option("--protocols-flavor")
    parser.add_option("--topo-server-flavor", default="zookeeper")
Ejemplo n.º 3
0
def add_options(parser):
    environment.add_options(parser)
    parser.add_option("-d", "--debug", action="store_true", help="utils.pause() statements will wait for user input")
    parser.add_option("-k", "--keep-logs", action="store_true", help="Don't delete log files on teardown.")
    parser.add_option("-q", "--quiet", action="store_const", const=0, dest="verbose", default=1)
    parser.add_option("-v", "--verbose", action="store_const", const=2, dest="verbose", default=1)
    parser.add_option("--skip-teardown", action="store_true")
    parser.add_option("--mysql-flavor")
    parser.add_option("--protocols-flavor")
    parser.add_option("--topo-server-flavor", default="zookeeper")
Ejemplo n.º 4
0
def add_options(parser):
    environment.add_options(parser)
    parser.add_option("-d", "--debug", action="store_true", help="utils.pause() statements will wait for user input")
    parser.add_option("-k", "--keep-logs", action="store_true", help="Do not delete log files on teardown.")
    parser.add_option("-q", "--quiet", action="store_const", const=0, dest="verbose", default=1)
    parser.add_option("-v", "--verbose", action="store_const", const=2, dest="verbose", default=1)
    parser.add_option("--skip-build", action="store_true", help="Do not build the go binaries when running the test.")
    parser.add_option(
        "--skip-teardown", action="store_true", help="Leave the global processes running after the test is done."
    )
    parser.add_option("--mysql-flavor")
    parser.add_option("--protocols-flavor")
    parser.add_option("--topo-server-flavor", default="zookeeper")
Ejemplo n.º 5
0
def add_options(parser):
  environment.add_options(parser)
  parser.add_option('-d', '--debug', action='store_true',
                    help='utils.pause() statements will wait for user input')
  parser.add_option('-k', '--keep-logs', action='store_true',
                    help='Do not delete log files on teardown.')
  parser.add_option('-q', '--quiet', action='store_const', const=0, dest='verbose', default=1)
  parser.add_option('-v', '--verbose', action='store_const', const=2, dest='verbose', default=1)
  parser.add_option('--skip-build', action='store_true',
                    help='Do not build the go binaries when running the test.')
  parser.add_option('--skip-teardown', action='store_true',
                    help='Leave the global processes running after the test is done.')
  parser.add_option('--mysql-flavor')
  parser.add_option('--protocols-flavor')
  parser.add_option('--topo-server-flavor', default='zookeeper')