Merge pull request #96 from psforever/develop/chord

Fix for test leaking a DH crypto object
This commit is contained in:
Fate-JH 2017-03-01 20:41:37 -05:00 committed by GitHub
commit b6cf5aa580
2 changed files with 3 additions and 3 deletions

2
.codecov.yml Normal file
View file

@ -0,0 +1,2 @@
# Too spammy for us
comment: off

View file

@ -109,14 +109,12 @@ class CryptoInterfaceTest extends Specification { args(stopOnFail = true)
"safely handle multiple starts" in {
val dontCare = ByteVector.fill(16)(0x42)
var dh = new CryptoDHState()
val dh = new CryptoDHState()
dh.start()
dh.start() must throwA[IllegalStateException]
dh.close
dh = new CryptoDHState()
ok
}