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

givenExistingDocument_whenOverwrittenWithPut_thenReplacesDocumentCompletely[jvm]

summary

1

tests

0

failures

0

skipped

0.274s

duration

100%

successful

standard output

2026-10-05 12:49:01.737 [Test worker @coroutine#446] INFO  io.ktor.server.Application - Autoreload is disabled because the development mode is off.
2026-10-05 12:49:01.738 [Test worker @coroutine#446] INFO  io.ktor.server.Application - Application started in 0.001 seconds.
2026-10-05 12:49:01.746 [DefaultDispatcher-worker-10 @coroutine#450] INFO  io.ktor.server.Application - Responding at http://0.0.0.0:39341
2026-10-05 12:49:01.794 [DefaultDispatcher-worker-10 @coroutine#453] TRACE i.k.c.p.c.ContentNegotiation - Adding Accept=application/json header for http://localhost:39341/activities/profile?activityId=http%3A%2F%2Fexample.com%2Factivities%2Fcourse-1&profileId=profile-1
2026-10-05 12:49:01.794 [DefaultDispatcher-worker-10 @coroutine#453] TRACE i.k.c.p.c.ContentNegotiation - Body type class kotlin.ByteArray is in ignored types. Skipping ContentNegotiation for http://localhost:39341/activities/profile?activityId=http%3A%2F%2Fexample.com%2Factivities%2Fcourse-1&profileId=profile-1.
2026-10-05 12:49:01.794 [DefaultDispatcher-worker-10 @coroutine#453] TRACE i.k.c.plugins.defaultTransformers - Transformed with default transformers request body for http://localhost:39341/activities/profile?activityId=http%3A%2F%2Fexample.com%2Factivities%2Fcourse-1&profileId=profile-1 from class kotlin.ByteArray
2026-10-05 12:49:01.794 [Test worker @coroutine#446] TRACE i.k.c.p.c.ContentNegotiation - Adding Accept=application/json header for http://localhost:39341/activities/profile?activityId=http%3A%2F%2Fexample.com%2Factivities%2Fcourse-1&profileId=profile-1
2026-10-05 12:49:01.794 [Test worker @coroutine#446] TRACE i.k.c.p.c.ContentNegotiation - Body type class io.ktor.client.utils.EmptyContent is in ignored types. Skipping ContentNegotiation for http://localhost:39341/activities/profile?activityId=http%3A%2F%2Fexample.com%2Factivities%2Fcourse-1&profileId=profile-1.
2026-10-05 12:49:01.805 [eventLoopGroupProxy-52-1 @call-handler#462] TRACE io.ktor.server.routing.Routing - Trace for [activities, profile]
/, segment:0 -> SUCCESS @ /
  /profile, segment:0 -> FAILURE "Selector didn't match" @ /profile
Matched routes:
  No results
Routing resolve result:
  FAILURE "No matched subtrees found" @ /
2026-10-05 12:49:01.806 [eventLoopGroupProxy-52-2 @call-handler#463] TRACE io.ktor.server.routing.Routing - Trace for [activities, profile]
/, segment:0 -> SUCCESS @ /
  /profile, segment:0 -> FAILURE "Selector didn't match" @ /profile
Matched routes:
  No results
Routing resolve result:
  FAILURE "No matched subtrees found" @ /
2026-10-05 12:49:01.806 [eventLoopGroupProxy-52-1 @call-handler#462] TRACE i.k.s.p.c.ContentNegotiation - Skipping response body transformation from HttpStatusCode to OutgoingContent for the POST /activities/profile?activityId=http%3A%2F%2Fexample.com%2Factivities%2Fcourse-1&profileId=profile-1 request because the HttpStatusCode type is ignored. See [ContentNegotiationConfig::ignoreType].
2026-10-05 12:49:01.806 [eventLoopGroupProxy-52-2 @call-handler#463] TRACE i.k.s.p.c.ContentNegotiation - Skipping response body transformation from HttpStatusCode to OutgoingContent for the GET /activities/profile?activityId=http%3A%2F%2Fexample.com%2Factivities%2Fcourse-1&profileId=profile-1 request because the HttpStatusCode type is ignored. See [ContentNegotiationConfig::ignoreType].
2026-10-05 12:49:01.811 [DefaultDispatcher-worker-4 @coroutine#453] TRACE io.ktor.client.plugins.SaveBody - Saving body for http://localhost:39341/activities/profile?activityId=http%3A%2F%2Fexample.com%2Factivities%2Fcourse-1&profileId=profile-1
2026-10-05 12:49:01.812 [DefaultDispatcher-worker-4 @coroutine#453] TRACE i.k.client.plugins.HttpCallValidator - Validating response for request http://localhost:39341/activities/profile?activityId=http%3A%2F%2Fexample.com%2Factivities%2Fcourse-1&profileId=profile-1
2026-10-05 12:49:01.812 [DefaultDispatcher-worker-4 @coroutine#453] TRACE i.k.c.p.DefaultResponseValidation - Skipping default response validation for http://localhost:39341/activities/profile?activityId=http%3A%2F%2Fexample.com%2Factivities%2Fcourse-1&profileId=profile-1
2026-10-05 12:49:01.818 [Test worker @coroutine#446] TRACE io.ktor.client.plugins.SaveBody - Saving body for http://localhost:39341/activities/profile?activityId=http%3A%2F%2Fexample.com%2Factivities%2Fcourse-1&profileId=profile-1
2026-10-05 12:49:01.821 [Test worker @coroutine#446] TRACE i.k.client.plugins.HttpCallValidator - Validating response for request http://localhost:39341/activities/profile?activityId=http%3A%2F%2Fexample.com%2Factivities%2Fcourse-1&profileId=profile-1
2026-10-05 12:49:01.821 [Test worker @coroutine#446] TRACE i.k.c.p.DefaultResponseValidation - Skipping default response validation for http://localhost:39341/activities/profile?activityId=http%3A%2F%2Fexample.com%2Factivities%2Fcourse-1&profileId=profile-1

error output

Exception in thread "DefaultDispatcher-worker-4 @coroutine#453" world.respect.lib.xapi.exceptions.XapiException: Not Found
	at world.respect.datalayer.http.school.xapi.ext.HttpResponseExtKt.throwXapiExceptionIfNotSuccessful(HttpResponseExt.kt:12)
	at world.respect.datalayer.http.school.xapi.XapiActivityProfileResourceHttpClient.post(XapiActivityProfileResourceHttpClient.kt:88)
	at world.respect.datalayer.http.school.xapi.XapiActivityProfileResourceHttpClient$post$1.invokeSuspend(XapiActivityProfileResourceHttpClient.kt)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:34)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:100)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:586)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:807)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:717)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:704)
	Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [CoroutineId(453), "coroutine#453":StandaloneCoroutine{Cancelling}@312cc372, Dispatchers.Default]