diff options
author | Aram Drevekenin <aram@poor.dev> | 2023-05-15 17:43:20 +0200 |
---|---|---|
committer | Aram Drevekenin <aram@poor.dev> | 2023-05-15 17:43:20 +0200 |
commit | 2eee2aed6e11712b1e2b8507b8fa373aa89b5f16 (patch) | |
tree | 90dc5425c8909a090a3384ca9ca11b3b6f9e2a6f | |
parent | 63c5cdf1ac4109e7d9d6f680b68fc87652809d79 (diff) |
fix plugin system ci tests
-rw-r--r-- | zellij-server/src/plugins/unit/plugin_tests.rs | 3 | ||||
-rw-r--r-- | zellij-tile/src/lib.rs | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/zellij-server/src/plugins/unit/plugin_tests.rs b/zellij-server/src/plugins/unit/plugin_tests.rs index fe9c324ed..052a25f43 100644 --- a/zellij-server/src/plugins/unit/plugin_tests.rs +++ b/zellij-server/src/plugins/unit/plugin_tests.rs @@ -118,7 +118,8 @@ fn create_plugin_thread() -> ( lazy_static! { static ref PLUGIN_FIXTURE: String = format!( - // "{}/../target/wasm32-wasi/debug/fixture-plugin-for-tests.wasm", + // to populate this file, make sure to run the build-e2e CI job + // (or compile the fixture plugin and copy the resulting .wasm blob to the below location) "{}/../target/e2e-data/plugins/fixture-plugin-for-tests.wasm", std::env::var_os("CARGO_MANIFEST_DIR") .unwrap() diff --git a/zellij-tile/src/lib.rs b/zellij-tile/src/lib.rs index 363520330..7f82e0e41 100644 --- a/zellij-tile/src/lib.rs +++ b/zellij-tile/src/lib.rs @@ -119,7 +119,7 @@ macro_rules! register_worker { &format!("/data/{}", worker_display_name), serialized_state.as_bytes(), ) - .map_err(|e| format!("Failed to persist state to HD")) + .map_err(|e| format!("Failed to persist state to HD: {:?}", e)) }) { Ok(()) => {}, Err(e) => eprintln!( |