qlog stateless resets

This commit is contained in:
Marten Seemann
2020-03-26 16:29:54 +07:00
parent cf45659c49
commit a82d6bb910
9 changed files with 63 additions and 5 deletions

View File

@@ -98,7 +98,8 @@ var _ = Describe("Stateless Resets", func() {
if serr == nil {
_, serr = str.Read([]byte{0})
}
Expect(serr).To(MatchError("INTERNAL_ERROR: received a stateless reset"))
Expect(serr).To(HaveOccurred())
Expect(serr.Error()).To(ContainSubstring("INTERNAL_ERROR: received a stateless reset"))
Expect(ln2.Close()).To(Succeed())
Eventually(acceptStopped).Should(BeClosed())