diff --git a/crates/testing/tests/standalone_integration_test.rs b/crates/testing/tests/standalone_integration_test.rs index c1021f435e..d804846726 100644 --- a/crates/testing/tests/standalone_integration_test.rs +++ b/crates/testing/tests/standalone_integration_test.rs @@ -72,14 +72,14 @@ fn test_calling_a_reducer_with_private_table() { let json = r#"{"call": {"fn": "query_private", "args": []}}"#.to_string(); module.send(json).await.unwrap(); - let lines = module.read_log(Some(10)).await; + let lines = module.read_log(Some(11)).await; let lines: Vec<&str> = lines.trim().split('\n').collect(); - assert_eq!(lines.len(), 9); + assert_eq!(lines.len(), 10); - let json: Value = serde_json::from_str(lines[7]).unwrap(); - assert_eq!(json["message"], Value::String("Private, Tyrion!".to_string())); let json: Value = serde_json::from_str(lines[8]).unwrap(); + assert_eq!(json["message"], Value::String("Private, Tyrion!".to_string())); + let json: Value = serde_json::from_str(lines[9]).unwrap(); assert_eq!(json["message"], Value::String("Private, World!".to_string())); }, );