Gradle Test Run :lib-datalayer-repository:jvmTest[jvm]
givenExistingDocument_whenOverwrittenWithPut_thenReplacesDocumentCompletely[jvm]
summary
|
100%
successful |
standard output
2026-10-05 00:26:48.721 [Test worker @coroutine#751] INFO io.ktor.server.Application - Autoreload is disabled because the development mode is off.
2026-10-05 00:26:48.722 [Test worker @coroutine#751] INFO io.ktor.server.Application - Application started in 0.001 seconds.
2026-10-05 00:26:48.723 [DefaultDispatcher-worker-10 @coroutine#756] INFO io.ktor.server.Application - Responding at http://0.0.0.0:44817
2026-10-05 00:26:48.773 [DefaultDispatcher-worker-9 @coroutine#759] TRACE i.k.c.p.c.ContentNegotiation - Adding Accept=application/json header for http://localhost:44817/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 00:26:48.773 [DefaultDispatcher-worker-9 @coroutine#759] TRACE i.k.c.p.c.ContentNegotiation - Body type class kotlin.ByteArray is in ignored types. Skipping ContentNegotiation for http://localhost:44817/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1.
2026-10-05 00:26:48.773 [DefaultDispatcher-worker-9 @coroutine#759] TRACE i.k.c.plugins.defaultTransformers - Transformed with default transformers request body for http://localhost:44817/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1 from class kotlin.ByteArray
2026-10-05 00:26:48.774 [Test worker @coroutine#751] TRACE i.k.c.p.c.ContentNegotiation - Adding Accept=application/json header for http://localhost:44817/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 00:26:48.774 [Test worker @coroutine#751] TRACE i.k.c.p.c.ContentNegotiation - Body type class io.ktor.client.utils.EmptyContent is in ignored types. Skipping ContentNegotiation for http://localhost:44817/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1.
2026-10-05 00:26:48.786 [eventLoopGroupProxy-94-1 @call-handler#767] TRACE io.ktor.server.routing.Routing - Trace for [agents, profile]
/, segment:0 -> SUCCESS @ /
/agents, segment:1 -> SUCCESS @ /agents
/agents/profile, segment:2 -> SUCCESS @ /agents/profile
/agents/profile [(method:GET)], segment:2 -> SUCCESS @ /agents/profile [(method:GET)]
/agents/profile [(method:POST)], segment:2 -> FAILURE "Selector didn't match" @ /agents/profile [(method:POST)]
/agents/profile [(method:PUT)], segment:2 -> FAILURE "Selector didn't match" @ /agents/profile [(method:PUT)]
/agents/profile [(method:DELETE)], segment:2 -> FAILURE "Selector didn't match" @ /agents/profile [(method:DELETE)]
Matched routes:
"" -> "agents" -> "profile" -> "(method:GET)"
Routing resolve result:
SUCCESS @ /agents/profile [(method:GET)]
2026-10-05 00:26:48.786 [eventLoopGroupProxy-94-2 @call-handler#769] TRACE io.ktor.server.routing.Routing - Trace for [agents, profile]
/, segment:0 -> SUCCESS @ /
/agents, segment:1 -> SUCCESS @ /agents
/agents/profile, segment:2 -> SUCCESS @ /agents/profile
/agents/profile [(method:GET)], segment:2 -> FAILURE "Selector didn't match" @ /agents/profile [(method:GET)]
/agents/profile [(method:POST)], segment:2 -> FAILURE "Selector didn't match" @ /agents/profile [(method:POST)]
/agents/profile [(method:PUT)], segment:2 -> SUCCESS @ /agents/profile [(method:PUT)]
/agents/profile [(method:DELETE)], segment:2 -> FAILURE "Selector didn't match" @ /agents/profile [(method:DELETE)]
Matched routes:
"" -> "agents" -> "profile" -> "(method:PUT)"
Routing resolve result:
SUCCESS @ /agents/profile [(method:PUT)]
2026-10-05 00:26:48.786 [eventLoopGroupProxy-94-2 @call-handler#769] TRACE i.k.server.engine.DefaultTransform - Transformed class io.ktor.utils.io.ByteChannel to class kotlin.ByteArray for /agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 00:26:48.787 [eventLoopGroupProxy-94-2 @call-handler#769] TRACE i.k.s.p.c.ContentNegotiation - Skipping for request type class kotlin.ByteArray because the type is ignored.
2026-10-05 00:26:48.787 [eventLoopGroupProxy-94-1 @call-handler#767] TRACE i.k.s.p.c.ContentNegotiation - Skipping response body transformation from HttpStatusCode to OutgoingContent for the GET /agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1 request because the HttpStatusCode type is ignored. See [ContentNegotiationConfig::ignoreType].
2026-10-05 00:26:48.787 [eventLoopGroupProxy-94-2 @call-handler#769] TRACE i.k.s.p.c.ContentNegotiation - Skipping response body transformation from HttpStatusCode to OutgoingContent for the PUT /agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1 request because the HttpStatusCode type is ignored. See [ContentNegotiationConfig::ignoreType].
2026-10-05 00:26:48.788 [DefaultDispatcher-worker-1 @coroutine#759] TRACE io.ktor.client.plugins.SaveBody - Saving body for http://localhost:44817/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 00:26:48.788 [Test worker @coroutine#751] TRACE io.ktor.client.plugins.SaveBody - Saving body for http://localhost:44817/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 00:26:48.788 [DefaultDispatcher-worker-1 @coroutine#759] TRACE i.k.client.plugins.HttpCallValidator - Validating response for request http://localhost:44817/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 00:26:48.788 [DefaultDispatcher-worker-1 @coroutine#759] TRACE i.k.c.p.DefaultResponseValidation - Skipping default response validation for http://localhost:44817/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 00:26:48.788 [Test worker @coroutine#751] TRACE i.k.client.plugins.HttpCallValidator - Validating response for request http://localhost:44817/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 00:26:48.788 [Test worker @coroutine#751] TRACE i.k.c.p.DefaultResponseValidation - Skipping default response validation for http://localhost:44817/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1