Skip to content

Commit

Permalink
feature: test Iroha health check
Browse files Browse the repository at this point in the history
Signed-off-by: Timur Guskov <[email protected]>
  • Loading branch information
gv-timur committed Nov 1, 2023
1 parent 1bf963f commit b19b99d
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import io.ktor.http.HttpStatusCode
import jp.co.soramitsu.iroha2.testengine.IrohaTest
import jp.co.soramitsu.iroha2.testengine.WithIroha
import kotlinx.coroutines.runBlocking
import org.junit.jupiter.api.Disabled
import org.junit.jupiter.api.Test
import org.junit.jupiter.api.Timeout
import kotlin.test.assertEquals
Expand All @@ -14,6 +15,7 @@ class ClientTest : IrohaTest<AdminIroha2Client>() {

@Test
@WithIroha
@Disabled
fun health(): Unit = runBlocking {
val health = client.health()
assert(health == HttpStatusCode.OK.value)
Expand Down

0 comments on commit b19b99d

Please sign in to comment.