This repository has been archived by the owner on Feb 27, 2024. It is now read-only.
Add jvm target and assessment endpoints for admin app #622
GitHub Actions / Unit Test Results
failed
Dec 1, 2023 in 0s
1 fail, 86 pass in 20s
Annotations
Check warning on line 0 in org.sagebionetworks.bridge.kmm.shared.integration.IntegrationSmokeTest
github-actions / Unit Test Results
testIntegrationSmokeTest (org.sagebionetworks.bridge.kmm.shared.integration.IntegrationSmokeTest) failed
bridge-client/build/test-results/testReleaseUnitTest/TEST-org.sagebionetworks.bridge.kmm.shared.integration.IntegrationSmokeTest.xml
Raw output
java.lang.IllegalStateException: ResultSet returned more than 1 row for BridgeResourceDatabase.sq:selectResourceById
at app.cash.sqldelight.async.coroutines.QueryExtensionsKt$awaitAsOneOrNull$2.invoke(QueryExtensions.kt:50)
at app.cash.sqldelight.async.coroutines.QueryExtensionsKt$awaitAsOneOrNull$2.invoke(QueryExtensions.kt:33)
at app.cash.sqldelight.driver.jdbc.JdbcPreparedStatement.executeQuery(JdbcDriver.kt:272)
at app.cash.sqldelight.driver.jdbc.JdbcDriver.executeQuery(JdbcDriver.kt:152)
at org.sagebionetworks.bridge.kmm.shared.cache.BridgeResourceDatabaseQueries$SelectResourceByIdQuery.execute(BridgeResourceDatabaseQueries.kt:398)
at app.cash.sqldelight.async.coroutines.QueryExtensionsKt.awaitAsOneOrNull(QueryExtensions.kt:33)
at app.cash.sqldelight.coroutines.FlowQuery$mapToOneOrNull$1$1.invokeSuspend(FlowExtensions.kt:76)
at _COROUTINE._BOUNDARY._(CoroutineDebugging.kt:46)
at app.cash.sqldelight.coroutines.FlowQuery$mapToOneOrNull$$inlined$map$1$2.emit(FlowExtensions.kt:224)
at app.cash.sqldelight.coroutines.FlowQuery$asFlow$1.invokeSuspend(FlowExtensions.kt:48)
at kotlinx.coroutines.flow.AbstractFlow.collect(Flow.kt:230)
at kotlinx.coroutines.flow.FlowKt__ReduceKt.first(Reduce.kt:183)
at org.sagebionetworks.bridge.kmm.shared.integration.IntegrationSmokeTest$testIntegrationSmokeTest$1.invokeSuspend(IntegrationSmokeTest.kt:60)
at org.sagebionetworks.bridge.kmm.shared.BaseTest$runTest$1.invokeSuspend(BaseTest.kt:13)
Caused by: java.lang.IllegalStateException: ResultSet returned more than 1 row for BridgeResourceDatabase.sq:selectResourceById
at app.cash.sqldelight.async.coroutines.QueryExtensionsKt$awaitAsOneOrNull$2.invoke(QueryExtensions.kt:50)
at app.cash.sqldelight.async.coroutines.QueryExtensionsKt$awaitAsOneOrNull$2.invoke(QueryExtensions.kt:33)
at app.cash.sqldelight.driver.jdbc.JdbcPreparedStatement.executeQuery(JdbcDriver.kt:272)
at app.cash.sqldelight.driver.jdbc.JdbcDriver.executeQuery(JdbcDriver.kt:152)
at org.sagebionetworks.bridge.kmm.shared.cache.BridgeResourceDatabaseQueries$SelectResourceByIdQuery.execute(BridgeResourceDatabaseQueries.kt:398)
at app.cash.sqldelight.async.coroutines.QueryExtensionsKt.awaitAsOneOrNull(QueryExtensions.kt:33)
at app.cash.sqldelight.coroutines.FlowQuery$mapToOneOrNull$1$1.invokeSuspend(FlowExtensions.kt:76)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Loading