Skip to content

Commit

Permalink
modified: signals_test.go
Browse files Browse the repository at this point in the history
  • Loading branch information
nbari committed Aug 7, 2016
1 parent 1ba5fa7 commit 3d9fb5a
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions signals_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,14 +128,6 @@ func TestSignals(t *testing.T) {
time.Sleep(time.Second)
}

//// bring up the service (new pid expected)
//d.Control.fifo <- Return{err: nil, msg: "u"}
//for old_pid == d.process.GetPid() {
//// waiting to change pid
//}
//expect(t, d.count, uint32(1))
//expect(t, d.count_defer, uint32(0))

var testSignalsError = []struct {
signal string
expected os.Signal
Expand Down Expand Up @@ -181,6 +173,7 @@ func TestSignals(t *testing.T) {
}
// create zombie
d.Control.fifo <- Return{err: nil, msg: "d"}
d.Control.fifo <- Return{err: nil, msg: "x"}
}

func waitSig(t *testing.T, c <-chan os.Signal, sig os.Signal) {
Expand Down

0 comments on commit 3d9fb5a

Please sign in to comment.