Skip to content

Commit cee23e0

Browse files
committed
[Upgrade] 修改测试用例
1 parent e2838d8 commit cee23e0

File tree

6 files changed

+10
-0
lines changed

6 files changed

+10
-0
lines changed

cloud/oauth-server/src/test/java/pers/acp/admin/oauth/test/TestSerialNumber.java

+10
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,16 @@ void testGenerateSerialNumber() throws InterruptedException {
4343
}
4444
}).start();
4545
}
46+
// System.out.println("开始循环获取序列号,同时启动10个线程,无限循环取,直到程序结束");
47+
// for (int t = 0; t < 10; t++) {
48+
// new Thread(() -> {
49+
// int i = 0;
50+
// while (true) {
51+
// long serialNumber = generateSerialNumber.getSerialNumber(key, 5000);
52+
// System.out.println(CommonTools.getNowTimeString() + " 第" + (++i) + "次获取序列号:" + serialNumber);
53+
// }
54+
// }).start();
55+
// }
4656
}).start();
4757
Thread.sleep(20000);
4858
}

libs/acp-client-6.1.1.jar

0 Bytes
Binary file not shown.

libs/acp-core-6.1.1.jar

106 Bytes
Binary file not shown.

libs/acp-packet-6.1.1.jar

0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)