1、修改自检默认配置文件路径 2、修改case connection timeout 的值

This commit is contained in:
fumingwei
2020-09-21 11:35:31 +08:00
parent 067d681b3a
commit ef9768de5a
2 changed files with 3 additions and 3 deletions

View File

@@ -539,7 +539,7 @@ class TsgDiagnoseRun:
parser.add_argument('-c','--count', type = int, default = 1, help='Specifies the count of tsg diagnoses ,range:1-65535')
parser.add_argument('-f','--format', type = str, default = 'txt',help='Specifies the result output format of the tsg diagnose. There two formats: jsontxt, the default is txt.')
parser.add_argument('-w','--write', type = str, default = None,help='Write out result into file or NEZHA. Specifies the output file name or NEZHA.')
parser.add_argument('-p','--configpath', type = str, default = '/root/unittest/etc/tsg-diagnose.config',help='Specifies the config file, default /root/unittest/etc/tsg-diagnose.config')
parser.add_argument('-p','--configpath', type = str, default = '/root/etc_tsg_diagnose/tsg-diagnose.config',help='Specifies the config file, default /root/etc_tsg_diagnose/tsg-diagnose.config')
parser.add_argument('-l','--loop', action='store_true', default = False, help='Tsg diagnose loop, exit when recv a signal')
args = parser.parse_args()
self.interval = args.interval