@@ -74,7 +74,7 @@ func TestSimpleAppIntegration(t *testing.T) {
7474 wasmBytes := buildAndLoadWasmModule (t )
7575
7676 // Create a new wasmtime runtime
77- runtime := vela_wasm .NewWasmtimeRuntime (testLogger )
77+ runtime := vela_wasm .NewWasmtimeRuntime (testLogger , 0 )
7878 defer runtime .Close ()
7979
8080 ctx := context .Background ()
@@ -212,7 +212,7 @@ func TestSimpleAppIntegration_NullPayload(t *testing.T) {
212212 wasmBytes := buildAndLoadWasmModule (t )
213213
214214 // Create a new wasmtime runtime
215- runtime := vela_wasm .NewWasmtimeRuntime (testLogger )
215+ runtime := vela_wasm .NewWasmtimeRuntime (testLogger , 0 )
216216 defer runtime .Close ()
217217
218218 ctx := context .Background ()
@@ -234,7 +234,7 @@ func TestSimpleAppIntegration_NegativeScenarios(t *testing.T) {
234234 wasmBytes := buildAndLoadWasmModule (t )
235235
236236 // Create a new wasmtime runtime
237- runtime := vela_wasm .NewWasmtimeRuntime (testLogger )
237+ runtime := vela_wasm .NewWasmtimeRuntime (testLogger , 0 )
238238 defer runtime .Close ()
239239
240240 ctx := context .Background ()
@@ -344,7 +344,7 @@ func TestSimpleAppIntegration_NilData(t *testing.T) {
344344 wasmBytes := buildAndLoadWasmModule (t )
345345
346346 // Create a new wasmtime runtime
347- runtime := vela_wasm .NewWasmtimeRuntime (testLogger )
347+ runtime := vela_wasm .NewWasmtimeRuntime (testLogger , 0 )
348348 defer runtime .Close ()
349349
350350 ctx := context .Background ()
@@ -376,7 +376,7 @@ func TestSimpleAppIntegration_NilData(t *testing.T) {
376376}
377377
378378func TestSimpleAppIntegration_InvalidWasm (t * testing.T ) {
379- runtime := vela_wasm .NewWasmtimeRuntime (testLogger )
379+ runtime := vela_wasm .NewWasmtimeRuntime (testLogger , 0 )
380380 defer runtime .Close ()
381381
382382 ctx := context .Background ()
@@ -415,7 +415,7 @@ func TestSimpleAppIntegration_InvalidState(t *testing.T) {
415415 wasmBytes := buildAndLoadWasmModule (t )
416416
417417 // Create a new wasmtime runtime
418- runtime := vela_wasm .NewWasmtimeRuntime (testLogger )
418+ runtime := vela_wasm .NewWasmtimeRuntime (testLogger , 0 )
419419 defer runtime .Close ()
420420
421421 ctx := context .Background ()
@@ -440,7 +440,7 @@ func TestSimpleAppIntegration_MemoryStress(t *testing.T) {
440440 wasmBytes := buildAndLoadWasmModule (t )
441441
442442 // Create a new wasmtime runtime with limited memory to make leaks surface faster.
443- runtime := vela_wasm .NewWasmtimeRuntime (testLogger )
443+ runtime := vela_wasm .NewWasmtimeRuntime (testLogger , 0 )
444444 defer runtime .Close ()
445445
446446 ctx := context .Background ()
@@ -544,7 +544,7 @@ func requireMemoryClean(t *testing.T, runtime *vela_wasm.WasmtimeRuntime, wasmBy
544544// round-trip that cannot be unit-tested in native 64-bit Go.
545545func TestSimpleAppIntegration_MemoryCleanBetweenOps (t * testing.T ) {
546546 wasmBytes := buildAndLoadWasmModule (t )
547- runtime := vela_wasm .NewWasmtimeRuntime (testLogger )
547+ runtime := vela_wasm .NewWasmtimeRuntime (testLogger , 0 )
548548 defer runtime .Close ()
549549
550550 ctx := context .Background ()
@@ -611,7 +611,7 @@ func TestSimpleAppIntegration_MemoryCleanBetweenOps(t *testing.T) {
611611// (which still use SerializeAndWriteResult -> BytesToPtr) do not leak memory.
612612func TestSimpleAppIntegration_ErrorPathMemory (t * testing.T ) {
613613 wasmBytes := buildAndLoadWasmModule (t )
614- runtime := vela_wasm .NewWasmtimeRuntime (testLogger )
614+ runtime := vela_wasm .NewWasmtimeRuntime (testLogger , 0 )
615615 defer runtime .Close ()
616616
617617 ctx := context .Background ()
@@ -656,7 +656,7 @@ func TestSimpleAppIntegration_ErrorPathMemory(t *testing.T) {
656656// result that stresses the allocate -> BytesToPtr -> extractResultBytes -> deallocate pipeline.
657657func TestSimpleAppIntegration_LargeResultRoundTrip (t * testing.T ) {
658658 wasmBytes := buildAndLoadWasmModule (t )
659- runtime := vela_wasm .NewWasmtimeRuntime (testLogger )
659+ runtime := vela_wasm .NewWasmtimeRuntime (testLogger , 0 )
660660 defer runtime .Close ()
661661
662662 ctx := context .Background ()
0 commit comments