Skip to content

Commit

Permalink
transform-sdk/js: run tests with debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
rockwotj committed Dec 5, 2024
1 parent b2f76a8 commit a584e7f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/transform-sdk/js/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ endif()
include(FetchContent)
set(FETCHCONTENT_QUIET FALSE)

if(CMAKE_BUILD_TYPE MATCHES Release)
if(CMAKE_BUILD_TYPE MATCHES Release OR CMAKE_BUILD_TYPE MATCHES RelWithDebInfo)
include(CheckIPOSupported)
check_ipo_supported(RESULT ltosupported OUTPUT error)
# NOTE(oren): rather a blunt instrument. CMake doesn't currently
Expand Down
2 changes: 1 addition & 1 deletion src/transform-sdk/js/CMakePresets.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"name": "release-type",
"hidden": true,
"cacheVariables": {
"CMAKE_BUILD_TYPE": "Release"
"CMAKE_BUILD_TYPE": "RelWithDebInfo"
}
},
{
Expand Down
1 change: 1 addition & 0 deletions src/transform-sdk/tests/test_util.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ func startRedpanda(ctx context.Context) (*redpanda.Container, context.CancelFunc
req.LogConsumerCfg.Consumers = append(req.LogConsumerCfg.Consumers, &stdoutLogConsumer{})
return nil
}),
testcontainers.WithEnv(map[string]string{"WASMTIME_BACKTRACE_DETAILS": "1"}),
redpanda.WithEnableWasmTransform(),
redpanda.WithBootstrapConfig("data_transforms_per_core_memory_reservation", 135000000),
redpanda.WithBootstrapConfig("data_transforms_per_function_memory_limit", 16777216),
Expand Down

0 comments on commit a584e7f

Please sign in to comment.