From 9ab77756aac42171f72c3aa44d1a16b5bf6ce191 Mon Sep 17 00:00:00 2001
From: sunty <1172534965@qq.com>
Date: 星期四, 16 四月 2020 11:38:44 +0800
Subject: [PATCH] uasa unit test

---
 controllers/swfsControllers.go |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/controllers/swfsControllers.go b/controllers/swfsControllers.go
index cd4c6f0..8f12e0a 100644
--- a/controllers/swfsControllers.go
+++ b/controllers/swfsControllers.go
@@ -157,7 +157,9 @@
 		startupItem = string(body)
 	}
 	tick := time.Tick(1 * time.Second)
+	fmt.Println("鍑嗗寮�濮嬮獙璇佽妭鐐规湇鍔�")
 	for countdown := timeOut; countdown > 0; countdown-- {
+		fmt.Println("绗竴娆¢獙璇�")
 		result := Verification(startupItem, ip)
 		if result == true {
 			break
@@ -212,6 +214,7 @@
 		fmt.Println("閲嶅惎绗竴缁勬湇鍔�" + ip)
 		if (i+1)%coreThread == 0 {
 			masterIp = append(masterIp, strings.Split(ip, ":")[0])
+			fmt.Println("鍔犲叆绗竴缁勫苟寮�濮嬮獙璇佺涓�缁� masterIp: ", masterIp)
 			for i := 0; i < len(masterIp); i++ {
 				go Restart(masterIp[i], timeOut)
 				waitGroup.Add(1) //姣忓垱寤轰竴涓猤oroutine锛屽氨鎶婁换鍔¢槦鍒椾腑浠诲姟鐨勬暟閲�+1

--
Gitblit v1.8.0