From 753646c5029f869efec07bb5f04760f9e206f092 Mon Sep 17 00:00:00 2001
From: xiaoyong931011 <15274802129@163.com>
Date: Thu, 27 May 2021 14:16:58 +0800
Subject: [PATCH] 20210527 最多三个待付款
---
src/test/java/com/xcong/excoin/OtcTest.java | 13 ++++++++++++-
1 files changed, 12 insertions(+), 1 deletions(-)
diff --git a/src/test/java/com/xcong/excoin/OtcTest.java b/src/test/java/com/xcong/excoin/OtcTest.java
index ea66dc0..3fb1d06 100644
--- a/src/test/java/com/xcong/excoin/OtcTest.java
+++ b/src/test/java/com/xcong/excoin/OtcTest.java
@@ -6,6 +6,8 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.test.context.SpringBootTest;
+import java.util.concurrent.TimeUnit;
+
@Slf4j
@SpringBootTest
public class OtcTest {
@@ -15,6 +17,15 @@
@Test
public void rabbitTest() {
- otcProducter.sendMarketBussinessMsg("123456");
+ otcProducter.sendDelayOrderMsg("123456");
+
+ while(true){
+ try {
+ TimeUnit.SECONDS.sleep(1);
+ } catch (InterruptedException e) {
+ e.printStackTrace();
+ }
+
+ }
}
}
--
Gitblit v1.9.1