Tune net_check generator params
Huge load of traffic could not be processed under time constraints that we have either in system tests/orchestrator - change duration of traffic generation to 5 sec - send only 1 packets in each iteration Change-Id: Ia503c2df72bca82952c51ac794615faa374ebf21 Closes-Bug: #1306705
This commit is contained in:
parent
bd0127be00
commit
8db571f2ba
|
@ -74,8 +74,8 @@ class Actor(object):
|
|||
'dport': 31337,
|
||||
'cookie': "Nailgun:",
|
||||
'pcap_dir': "/var/run/pcap_dir/",
|
||||
'duration': 20,
|
||||
'repeat': 2
|
||||
'duration': 5,
|
||||
'repeat': 1
|
||||
}
|
||||
if config:
|
||||
self.config.update(config)
|
||||
|
@ -627,11 +627,11 @@ def define_subparsers(parser):
|
|||
help='uid to insert into probe packets payload', default='1'
|
||||
)
|
||||
generate_parser.add_argument(
|
||||
'-d', '--duration', dest='duration', type=int, default=20,
|
||||
'-d', '--duration', dest='duration', type=int, default=5,
|
||||
help='Amount of time to generate network packets. In seconds',
|
||||
)
|
||||
generate_parser.add_argument(
|
||||
'-r', '--repeat', dest='repeat', type=int, default=2,
|
||||
'-r', '--repeat', dest='repeat', type=int, default=1,
|
||||
help='Amount of packets sended in one iteration.',
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in New Issue