File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ var _ = Describe("Session", func() {
130130 Expect (err ).ShouldNot (HaveOccurred ())
131131
132132 session .Signal (syscall .SIGABRT )
133- Eventually (session ).Should (Exit (128 + 6 ))
133+ Eventually (session ).WithTimeout ( 5 * time . Second ). Should (Exit (128 + 6 ))
134134 })
135135
136136 It ("should ignore sending a signal if the command did not start" , func () {
@@ -251,9 +251,9 @@ var _ = Describe("Session", func() {
251251
252252 Signal (syscall .SIGABRT )
253253
254- Eventually (session1 ).Should (Exit (128 + 6 ))
255- Eventually (session2 ).Should (Exit (128 + 6 ))
256- Eventually (session3 ).Should (Exit (128 + 6 ))
254+ Eventually (session1 ).WithTimeout ( 5 * time . Second ). Should (Exit (128 + 6 ))
255+ Eventually (session2 ).WithTimeout ( 5 * time . Second ). Should (Exit (128 + 6 ))
256+ Eventually (session3 ).WithTimeout ( 5 * time . Second ). Should (Exit (128 + 6 ))
257257 })
258258 })
259259
You can’t perform that action at this time.
0 commit comments