fix flaky key exchange generation test on AppVeyor

This commit is contained in:
Marten Seemann
2018-04-22 18:36:22 +09:00
parent c1d8c8940e
commit 118509cf76

View File

@@ -20,7 +20,7 @@ var _ = Describe("Ephermal KEX", func() {
}) })
It("changes KEX", func() { It("changes KEX", func() {
kexLifetime = time.Millisecond kexLifetime = 10 * time.Millisecond
defer func() { defer func() {
kexLifetime = protocol.EphermalKeyLifetime kexLifetime = protocol.EphermalKeyLifetime
}() }()