feat:(Resolves CHON-12)加入CHON-12说明并关联jira
This commit is contained in:
@@ -106,6 +106,7 @@ ImportObject
|
||||
... objectType对象类型
|
||||
... objectSubType对象子类型
|
||||
... objectName对象名称
|
||||
... jira CHON-12导入限制需求支持
|
||||
[Arguments] ${filePath} ${fileName} ${objectType} ${objectSubType} ${objectName}
|
||||
Directory Should Exist ${path}
|
||||
File Should Exist ${path}/${filePath}/${fileName}
|
||||
@@ -118,6 +119,7 @@ ImportObject
|
||||
${lines} CountLines ${path}/${filePath}/${fileName}
|
||||
#总数超过一定数据量测试不通过
|
||||
${total1} Evaluate ${total}+${lines}
|
||||
#jira CHON-12导入限制需求支持
|
||||
Run Keyword If "${objectType}"=="url" and ${total1}>1000000 Fail 当前已经存在item个数${total},待导入个数${lines},总数超过100万条!
|
||||
... ELSE IF ${total1}>100000 Fail 当前已经存在item个数${total},待导入个数${lines},总数超过10万条!
|
||||
${objectSubType} Run Keyword If "${objectType}"=="ip" and "${objectSubType}"=="${EMPTY}" Set Variable endpoint
|
||||
|
||||
Reference in New Issue
Block a user