Ver código fonte

指定循环测试次数;

Jeff 5 anos atrás
pai
commit
6927967143
1 arquivos alterados com 2 adições e 1 exclusões
  1. 2 1
      scbc.tools/test/test.cpp

+ 2 - 1
scbc.tools/test/test.cpp

@@ -37,7 +37,8 @@ int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
 			return -1;
 		}
 
-		while(true){
+		int i = 10000;
+		while(i--){
 
 			// 1、查询订单是否已下载成功;
 			int nRet = QueryMidInfo(bid.c_str());