Browse Source

updated test

master
Chakib Benziane 1 year ago
parent
commit
f4033c8123
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      manager_test.go

+ 2
- 2
manager_test.go View File

@@ -65,8 +65,8 @@ func DoRunMain(pid chan int, quit chan<- bool) {
65 65
 	go manager.Start()
66 66
 
67 67
 	// Wait for all units to shutdown gracefully through their `Shutdown` method
68
-	<-manager.Quit
69
-	quit <- true
68
+	quit <- <-manager.Quit
69
+
70 70
 }
71 71
 
72 72
 func TestRunMain(t *testing.T) {

Loading…
Cancel
Save