forked from quic-go/quic-go
restructured contexts in mitm tests
This commit is contained in:
@@ -72,6 +72,7 @@ var _ = Describe("MITM test", func() {
|
||||
Expect(err).ToNot(HaveOccurred())
|
||||
})
|
||||
|
||||
Context("unsuccessful attacks", func() {
|
||||
AfterEach(func() {
|
||||
Eventually(serverSess.Context().Done()).Should(BeClosed())
|
||||
// Test shutdown is tricky due to the proxy. Just wait for a bit.
|
||||
@@ -266,5 +267,10 @@ var _ = Describe("MITM test", func() {
|
||||
})
|
||||
})
|
||||
})
|
||||
|
||||
Context("successful injection attacks", func() {
|
||||
// TODO(tatianab): add successful injection attacks
|
||||
})
|
||||
})
|
||||
}
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user