whycxzp
2021-05-21 1741cd6f8c222a6256f4db2bfcd22789d63af9a7
更新试验接口
1个文件已修改
10 ■■■■■ 已修改文件
src/main/java/com/whyc/service/ExperimentService.java 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/whyc/service/ExperimentService.java
@@ -184,6 +184,12 @@
                }
            });
        }
        //演示需要
        try {
            sleep(5000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return new Response().set(1,preconditions);
    }
@@ -230,7 +236,9 @@
        Integer duration = point.getDuration();
        Integer durationSecond = duration*60;
        try {
            sleep(durationSecond);
            //sleep(durationSecond);
            //演示需要,使用5s
            sleep(5000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }