[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[libeufin] 05/05: ignore trial-and-error test
From: |
gnunet |
Subject: |
[libeufin] 05/05: ignore trial-and-error test |
Date: |
Mon, 11 Oct 2021 09:51:05 +0200 |
This is an automated email from the git hooks/post-receive script.
ms pushed a commit to branch master
in repository libeufin.
commit 44247859381f5173f209d884dae24a2b7d6cdd69
Author: ms <ms@taler.net>
AuthorDate: Mon Oct 11 09:50:52 2021 +0200
ignore trial-and-error test
---
util/src/test/kotlin/DomainSocketTest.kt | 14 +++++++++-----
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/util/src/test/kotlin/DomainSocketTest.kt
b/util/src/test/kotlin/DomainSocketTest.kt
index d6e5c18..73e2cdd 100644
--- a/util/src/test/kotlin/DomainSocketTest.kt
+++ b/util/src/test/kotlin/DomainSocketTest.kt
@@ -1,3 +1,8 @@
+import com.fasterxml.jackson.core.util.DefaultIndenter
+import com.fasterxml.jackson.core.util.DefaultPrettyPrinter
+import com.fasterxml.jackson.databind.DeserializationFeature
+import com.fasterxml.jackson.databind.SerializationFeature
+import com.fasterxml.jackson.module.kotlin.KotlinModule
import io.ktor.application.*
import io.ktor.features.*
import io.ktor.http.*
@@ -6,22 +11,21 @@ import io.ktor.routing.*
import org.junit.Test
import io.ktor.jackson.jackson
import io.ktor.request.*
+import org.junit.Assert
+import org.junit.Ignore
class DomainSocketTest {
- // @Test
+ @Test @Ignore
fun bind() {
startServer("/tmp/java.sock") {
install(ContentNegotiation) { jackson() }
routing {
- // responds with a empty JSON object.
get("/") {
this.call.respond(object {})
return@get
}
- // echoes what it read in the request.
post("/") {
- val body = this.call.receiveText()
- this.call.respondText(body)
+ this.call.respond(object {})
return@post
}
}
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.