File tree Expand file tree Collapse file tree 3 files changed +2
-3
lines changed
lambda-runtime/src/nativeTest/kotlin/io/github/trueangle/knative/lambda/runtime Expand file tree Collapse file tree 3 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -54,6 +54,7 @@ kotlin {
5454 it.binaries {
5555 executable {
5656 entryPoint = " com.github.trueangle.knative.lambda.runtime.sample.main" // Link this to your main function entry point
57+ freeCompilerArgs + = listOf (" -Xallocator=std" )
5758 }
5859 }
5960 }
Original file line number Diff line number Diff line change @@ -8,5 +8,5 @@ plugins {
88
99allprojects {
1010 group = " io.github.trueangle"
11- version = " 0.0.3 "
11+ version = " 0.0.4 "
1212}
Original file line number Diff line number Diff line change @@ -8,7 +8,6 @@ import io.github.trueangle.knative.lambda.runtime.log.JsonLogFormatter
88import io.github.trueangle.knative.lambda.runtime.log.LogLevel
99import io.ktor.util.reflect.typeInfo
1010import kotlinx.datetime.Clock
11- import kotlinx.serialization.ExperimentalSerializationApi
1211import kotlinx.serialization.encodeToString
1312import kotlinx.serialization.json.Json
1413import kotlin.test.Test
@@ -19,7 +18,6 @@ class JsonLogFormatterTest {
1918 private val requestId = " awsRequestId"
2019 private val timestamp = Clock .System .now()
2120
22- @OptIn(ExperimentalSerializationApi ::class )
2321 private val formatter = JsonLogFormatter (clock = clock, json = Json { explicitNulls = true }).apply {
2422 onContextAvailable(mockContext(requestId))
2523 }
You can’t perform that action at this time.
0 commit comments