fix:测试demo完善
This commit is contained in:
parent
35150c9af4
commit
a919287719
@ -1330,7 +1330,7 @@ public class SydApi4j implements SydApi {
|
|||||||
for (TaskOutcome<String> taskOutcome : taskOutcomes) {
|
for (TaskOutcome<String> taskOutcome : taskOutcomes) {
|
||||||
if (!taskOutcome.isSuccess()) {
|
if (!taskOutcome.isSuccess()) {
|
||||||
failures.add(taskOutcome.getContext().getAddress());
|
failures.add(taskOutcome.getContext().getAddress());
|
||||||
stringBuilder.append("签名服务器:").append(taskOutcome.getContext().getAddress()).append("/导入失败:").append(taskOutcome.getError().getMessage()).append("\n");
|
stringBuilder.append("签名服务器:").append(taskOutcome.getContext().getAddress()).append("/导入失败:").append(taskOutcome.getError().toString()).append("\n");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
String dn = null;
|
String dn = null;
|
||||||
|
|||||||
@ -230,7 +230,7 @@ public class Test4NongxinCW {
|
|||||||
// masterNodes.add("172.16.18.8:8889");
|
// masterNodes.add("172.16.18.8:8889");
|
||||||
int timeout = 1;
|
int timeout = 1;
|
||||||
Map<String, String> map = new HashMap<>();
|
Map<String, String> map = new HashMap<>();
|
||||||
map.put("snmp.target.ip", "172.16.18.113");
|
map.put("snmp.target.ip", "172.1.41.191");
|
||||||
map.put("snmp.target.port", "162");
|
map.put("snmp.target.port", "162");
|
||||||
map.put("enterprise.oid", "1.3.6.1.4.1.9999");
|
map.put("enterprise.oid", "1.3.6.1.4.1.9999");
|
||||||
map.put("snmp.community", "public");
|
map.put("snmp.community", "public");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user