diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2023-01-12 15:41:06 +0100 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2023-01-19 09:31:14 +0100 |
commit | ff3faee2e8d2dd3df7efd7e316e13213014dacb6 (patch) | |
tree | d4ac2840286e0a7f3bf05dfa194d64afc010cd0b | |
parent | 1b7397d76d9d82ba84e22f83682fe78efbd5bbcd (diff) |
Fix: Do not tell client to quit
The WaitForConnect BehaviourTest should not tell the client to quit,
because that's not necessary for the test to succeed.
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
-rw-r--r-- | mqtt-tester/src/behaviour/wait_for_connect.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mqtt-tester/src/behaviour/wait_for_connect.rs b/mqtt-tester/src/behaviour/wait_for_connect.rs index 561acca..ab16677 100644 --- a/mqtt-tester/src/behaviour/wait_for_connect.rs +++ b/mqtt-tester/src/behaviour/wait_for_connect.rs @@ -16,7 +16,7 @@ pub struct WaitForConnect; #[async_trait::async_trait] impl BehaviourTest for WaitForConnect { fn commands(&self) -> Vec<Box<dyn ClientExecutableCommand>> { - vec![Box::new(crate::executable::QuitCommand)] + vec![] } async fn execute(&self, _input: Input, mut output: Output) -> Result<(), miette::Error> { |