Skip to content

Commit

Permalink
fixing test
Browse files Browse the repository at this point in the history
  • Loading branch information
topiasjokiniemi-nordic committed Jul 17, 2023
1 parent 2a8bd16 commit a006394
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ import org.awaitility.kotlin.await
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.Assertions.assertFalse
import org.junit.jupiter.api.Assertions.assertNotNull
import org.junit.jupiter.api.Assertions.assertTrue
import org.junit.jupiter.api.Test
import org.opencoap.ssl.CertificateAuth
Expand Down Expand Up @@ -446,8 +447,8 @@ class DtlsServerTransportTest {
// when
client.send("hello")

val cid = server.getSessionCid(server.localAddress())
assert(cid != null)
val cid = server.getSessionCid(client.localAddress())
assertNotNull(cid)
}

@Test
Expand Down

0 comments on commit a006394

Please sign in to comment.