Gradle Test Run :lib-datalayer-repository:jvmTest[jvm]

givenExistingDocument_whenOverwrittenWithPut_thenReplacesDocumentCompletely[jvm]

summary

1

tests

0

failures

0

skipped

0.205s

duration

100%

successful

standard output

2026-10-05 04:38:21.810 [Test worker @coroutine#695] INFO  io.ktor.server.Application - Autoreload is disabled because the development mode is off.
2026-10-05 04:38:21.810 [Test worker @coroutine#695] INFO  io.ktor.server.Application - Application started in 0.0 seconds.
2026-10-05 04:38:21.811 [DefaultDispatcher-worker-8 @coroutine#700] INFO  io.ktor.server.Application - Responding at http://0.0.0.0:38073
2026-10-05 04:38:21.862 [DefaultDispatcher-worker-3 @coroutine#703] TRACE i.k.c.p.c.ContentNegotiation - Adding Accept=application/json header for http://localhost:38073/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 04:38:21.862 [Test worker @coroutine#695] TRACE i.k.c.p.c.ContentNegotiation - Adding Accept=application/json header for http://localhost:38073/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 04:38:21.862 [DefaultDispatcher-worker-3 @coroutine#703] TRACE i.k.c.p.c.ContentNegotiation - Body type class kotlin.ByteArray is in ignored types. Skipping ContentNegotiation for http://localhost:38073/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1.
2026-10-05 04:38:21.862 [Test worker @coroutine#695] TRACE i.k.c.p.c.ContentNegotiation - Body type class io.ktor.client.utils.EmptyContent is in ignored types. Skipping ContentNegotiation for http://localhost:38073/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1.
2026-10-05 04:38:21.862 [DefaultDispatcher-worker-3 @coroutine#703] TRACE i.k.c.plugins.defaultTransformers - Transformed with default transformers request body for http://localhost:38073/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1 from class kotlin.ByteArray
2026-10-05 04:38:21.864 [eventLoopGroupProxy-88-1 @call-handler#712] 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 04:38:21.865 [eventLoopGroupProxy-88-1 @call-handler#712] 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 04:38:21.865 [eventLoopGroupProxy-88-1 @call-handler#712] TRACE i.k.s.p.c.ContentNegotiation - Skipping for request type class kotlin.ByteArray because the type is ignored.
2026-10-05 04:38:21.865 [eventLoopGroupProxy-88-2 @call-handler#713] 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 04:38:21.866 [eventLoopGroupProxy-88-1 @call-handler#712] 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 04:38:21.867 [eventLoopGroupProxy-88-2 @call-handler#713] 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 04:38:21.869 [DefaultDispatcher-worker-4 @coroutine#703] TRACE io.ktor.client.plugins.SaveBody - Saving body for http://localhost:38073/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 04:38:21.870 [DefaultDispatcher-worker-4 @coroutine#703] TRACE i.k.client.plugins.HttpCallValidator - Validating response for request http://localhost:38073/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 04:38:21.870 [DefaultDispatcher-worker-4 @coroutine#703] TRACE i.k.c.p.DefaultResponseValidation - Skipping default response validation for http://localhost:38073/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 04:38:21.870 [Test worker @coroutine#695] TRACE io.ktor.client.plugins.SaveBody - Saving body for http://localhost:38073/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 04:38:21.871 [Test worker @coroutine#695] TRACE i.k.client.plugins.HttpCallValidator - Validating response for request http://localhost:38073/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 04:38:21.871 [Test worker @coroutine#695] TRACE i.k.c.p.DefaultResponseValidation - Skipping default response validation for http://localhost:38073/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 04:38:21.871 [DefaultDispatcher-worker-5 @coroutine#703] TRACE i.k.c.p.c.ContentNegotiation - Adding Accept=application/json header for http://localhost:38073/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 04:38:21.871 [DefaultDispatcher-worker-5 @coroutine#703] TRACE i.k.c.p.c.ContentNegotiation - Body type class kotlin.ByteArray is in ignored types. Skipping ContentNegotiation for http://localhost:38073/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1.
2026-10-05 04:38:21.871 [DefaultDispatcher-worker-5 @coroutine#703] TRACE i.k.c.plugins.defaultTransformers - Transformed with default transformers request body for http://localhost:38073/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1 from class kotlin.ByteArray
2026-10-05 04:38:21.871 [DefaultDispatcher-worker-5 @coroutine#703] TRACE i.k.client.plugins.HttpCallValidator - Processing exception kotlinx.coroutines.JobCancellationException: Job was cancelled; job=JobImpl{Cancelling}@238dd34a for request http://localhost:38073/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1