This is an automated email from the ASF dual-hosted git repository.

piotr pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/iggy.git


The following commit(s) were added to refs/heads/master by this push:
     new 926fc4f7 fix(test): Fix error logging in integration sample tests 
(#1791)
926fc4f7 is described below

commit 926fc4f7794ae4208f3cab884dacf0148916ced5
Author: Cancai Cai <[email protected]>
AuthorDate: Fri May 16 18:59:17 2025 +0800

    fix(test): Fix error logging in integration sample tests (#1791)
    
    According to the code, the server should be started in 
IggyExampleTest::new() instead of setup.
---
 core/integration/tests/examples/mod.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/integration/tests/examples/mod.rs 
b/core/integration/tests/examples/mod.rs
index 015eaa87..c715e82a 100644
--- a/core/integration/tests/examples/mod.rs
+++ b/core/integration/tests/examples/mod.rs
@@ -142,7 +142,7 @@ impl<'a> IggyExampleTest<'a> {
     pub(crate) async fn execute_test(&mut self, test_case: impl 
IggyExampleTestCase) {
         assert!(
             self.server.is_started(),
-            "Server is not running, make sure it has been started with 
IggyExampleTest::setup()"
+            "Server is not running, make sure it has been started with 
IggyExampleTest::new()"
         );
         let (producer_stdout, consumer_stdout) = self
             .spawn_executables(test_case.protocol(&self.server))

Reply via email to