Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix flaky internal_integration interupt specs
  • Loading branch information
onsi committed Oct 14, 2022
1 parent 2cc2219 commit 2105ba3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions internal/internal_integration/interrupt_and_timeout_test.go
Expand Up @@ -426,8 +426,9 @@ var _ = Describe("Interrupts and Timeouts", func() {
BeforeEach(rt.T("bef-outer"))
Context("nested", func() {
BeforeEach(rt.T("bef-inner"))
It("A", rt.T("A", func() {
It("A", rt.TSC("A", func(c SpecContext) {
interruptHandler.Interrupt(interrupt_handler.InterruptCauseSignal)
<-c.Done()
}))
It("B", rt.T("B"))
AfterEach(rt.TSC("aft-inner", func(c SpecContext) {
Expand Down Expand Up @@ -472,8 +473,9 @@ var _ = Describe("Interrupts and Timeouts", func() {
BeforeEach(rt.T("bef-outer"))
Context("nested", func() {
BeforeEach(rt.T("bef-inner"))
It("A", rt.T("A", func() {
It("A", rt.TSC("A", func(c SpecContext) {
interruptHandler.Interrupt(interrupt_handler.InterruptCauseSignal)
<-c.Done()
}))
It("B", rt.T("B"))
AfterEach(rt.TSC("aft-inner", func(c SpecContext) {
Expand Down

0 comments on commit 2105ba3

Please sign in to comment.