Skip to content
This repository has been archived by the owner on Oct 2, 2022. It is now read-only.

Commit

Permalink
Added wait before sending signal
Browse files Browse the repository at this point in the history
  • Loading branch information
Janos Pasztor committed Mar 30, 2021
1 parent 58d83bf commit 071a596
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions conformanceTestSuite.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,8 @@ func (c *conformanceTestSuite) sendingSignalsShouldWork(t *testing.T) {
if err := session.Exec("/usr/bin/containerssh-agent wait-signal --signal USR1 --message \"USR1 received\""); err != nil {
t.Fatal(err)
}
// Wait for backing program to start
time.Sleep(time.Second)
if err := session.Signal("USR1"); err != nil {
t.Fatal(err)
}
Expand Down

0 comments on commit 071a596

Please sign in to comment.