fix:测试demo完善

This commit is contained in:
waner 2025-05-20 14:09:45 +08:00
parent 35150c9af4
commit a919287719
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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");