From bc0271b20984cf15510d22b6ba05524ed711546d Mon Sep 17 00:00:00 2001 From: ppom Date: Sat, 15 Nov 2025 12:00:00 +0100 Subject: [PATCH] Fix test that did not pass when virtual was not previously built This seems a bit hacky though because the test needs to have `cargo` in `$PATH` --- tests/plugin_virtual.rs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/plugin_virtual.rs b/tests/plugin_virtual.rs index 008624a..19128d8 100644 --- a/tests/plugin_virtual.rs +++ b/tests/plugin_virtual.rs @@ -6,6 +6,11 @@ use predicates::prelude::predicate; #[test] fn plugin_virtual() { + // First build reaction-plugin-virtual + Command::new("cargo") + .args(["build", "-p", "reaction-plugin-virtual"]) + .unwrap(); + let tmp_dir = assert_fs::TempDir::new().unwrap(); tmp_dir .child("config.jsonnet")