Skip to content

Commit

Permalink
initialize zygote in tests
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Prendes <[email protected]>
  • Loading branch information
jprendes committed Dec 20, 2024
1 parent daa461e commit 8dab678
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crates/containerd-shim-wasm/src/testing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,8 @@ where
WasiInstance::Engine: Default + Send + Sync + Clone,
{
pub fn new() -> Result<Self> {
zygote::Zygote::init();

// start logging
// to enable logging run `export RUST_LOG=trace` and append cargo command with
// --show-output before running test
Expand Down

0 comments on commit 8dab678

Please sign in to comment.