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

givenExistingDocument_whenOverwrittenWithPut_thenReplacesDocumentCompletely[jvm]

summary

1

tests

0

failures

0

skipped

0.269s

duration

100%

successful

standard output

2026-10-05 06:38:48.539 [Test worker @coroutine#745] INFO  io.ktor.server.Application - Autoreload is disabled because the development mode is off.
2026-10-05 06:38:48.541 [Test worker @coroutine#745] INFO  io.ktor.server.Application - Application started in 0.001 seconds.
2026-10-05 06:38:48.543 [DefaultDispatcher-worker-4 @coroutine#750] INFO  io.ktor.server.Application - Responding at http://0.0.0.0:37617
2026-10-05 06:38:48.590 [DefaultDispatcher-worker-4 @coroutine#753] TRACE i.k.c.p.c.ContentNegotiation - Adding Accept=application/json header for http://localhost:37617/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 06:38:48.590 [DefaultDispatcher-worker-4 @coroutine#753] TRACE i.k.c.p.c.ContentNegotiation - Body type class kotlin.ByteArray is in ignored types. Skipping ContentNegotiation for http://localhost:37617/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1.
2026-10-05 06:38:48.590 [DefaultDispatcher-worker-4 @coroutine#753] TRACE i.k.c.plugins.defaultTransformers - Transformed with default transformers request body for http://localhost:37617/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1 from class kotlin.ByteArray
2026-10-05 06:38:48.591 [Test worker @coroutine#745] TRACE i.k.c.p.c.ContentNegotiation - Adding Accept=application/json header for http://localhost:37617/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 06:38:48.591 [Test worker @coroutine#745] TRACE i.k.c.p.c.ContentNegotiation - Body type class io.ktor.client.utils.EmptyContent is in ignored types. Skipping ContentNegotiation for http://localhost:37617/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1.
2026-10-05 06:38:48.595 [eventLoopGroupProxy-94-2 @call-handler#763] 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 06:38:48.600 [eventLoopGroupProxy-94-1 @call-handler#762] 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 06:38:48.601 [eventLoopGroupProxy-94-1 @call-handler#762] 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 06:38:48.601 [eventLoopGroupProxy-94-1 @call-handler#762] TRACE i.k.s.p.c.ContentNegotiation - Skipping for request type class kotlin.ByteArray because the type is ignored.
2026-10-05 06:38:48.609 [eventLoopGroupProxy-94-1 @call-handler#762] 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 06:38:48.610 [DefaultDispatcher-worker-5 @coroutine#753] TRACE io.ktor.client.plugins.SaveBody - Saving body for http://localhost:37617/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 06:38:48.610 [DefaultDispatcher-worker-5 @coroutine#753] TRACE i.k.client.plugins.HttpCallValidator - Validating response for request http://localhost:37617/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 06:38:48.610 [DefaultDispatcher-worker-5 @coroutine#753] TRACE i.k.c.p.DefaultResponseValidation - Skipping default response validation for http://localhost:37617/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 06:38:48.611 [eventLoopGroupProxy-94-2 @call-handler#763] 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 06:38:48.612 [DefaultDispatcher-worker-10 @coroutine#753] TRACE i.k.c.p.c.ContentNegotiation - Adding Accept=application/json header for http://localhost:37617/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 06:38:48.612 [DefaultDispatcher-worker-10 @coroutine#753] TRACE i.k.c.p.c.ContentNegotiation - Body type class kotlin.ByteArray is in ignored types. Skipping ContentNegotiation for http://localhost:37617/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1.
2026-10-05 06:38:48.612 [DefaultDispatcher-worker-10 @coroutine#753] TRACE i.k.c.plugins.defaultTransformers - Transformed with default transformers request body for http://localhost:37617/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1 from class kotlin.ByteArray
2026-10-05 06:38:48.617 [Test worker @coroutine#745] TRACE io.ktor.client.plugins.SaveBody - Saving body for http://localhost:37617/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 06:38:48.617 [Test worker @coroutine#745] TRACE i.k.client.plugins.HttpCallValidator - Validating response for request http://localhost:37617/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 06:38:48.617 [Test worker @coroutine#745] TRACE i.k.c.p.DefaultResponseValidation - Skipping default response validation for http://localhost:37617/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 06:38:48.618 [eventLoopGroupProxy-94-1 @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 06:38:48.618 [DefaultDispatcher-worker-9 @coroutine#753] TRACE i.k.client.plugins.HttpCallValidator - Processing exception kotlinx.coroutines.JobCancellationException: Job was cancelled; job=JobImpl{Cancelling}@5a8c8be0 for request http://localhost:37617/agents/profile?agent=%7B%22mbox%22%3A%22mailto%3Auser1%40example.com%22%7D&profileId=profile-1
2026-10-05 06:38:48.618 [eventLoopGroupProxy-94-1 @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 06:38:48.618 [eventLoopGroupProxy-94-1 @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 06:38:48.620 [eventLoopGroupProxy-94-1 @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].