fix:主备切换测试

This commit is contained in:
waner
2025-05-30 16:21:39 +08:00
parent 085d71feb9
commit fbcbe79388
11 changed files with 543 additions and 157 deletions
+2 -2
View File
@@ -15,14 +15,14 @@ import racal.sunyard.main.SydApi4j;
public class Test4WL {
private SydApi4j api;
final String SM2dn = "C=CN,ST=1,L=1,O=1,OU=1,OU=1,CN=1";
final String SM2dn = "C=CN,ST=zz,L=zz,O=zzz,CN=zzzzz";
final String RSAdn = "C=CN,O=2,OU=2,CN=2";
byte[] orgData = new byte[100];
@Before
public void before() {
// 通过设置debug的属性开启debug,如果不设置则默认不打开
//System.setProperty("com.sunyard.sydapi4j.debug", "true");
api = (SydApi4j) new SydApi4j().connect("172.16.17.82", 8889, null, 1000);
api = (SydApi4j) new SydApi4j().connect("172.1.41.139", 8889, null, 1000);
}
@After