diff --git a/src/runtime/tests.rs b/src/runtime/tests.rs index 6f8ff25182f6097b3016a470abf682bcb706f97f..111b78c27c30c090af0255c18085ec52122ab3c5 100644 --- a/src/runtime/tests.rs +++ b/src/runtime/tests.rs @@ -577,3 +577,12 @@ fn together() { }) .unwrap(); } + +#[test] +fn native_batch_distinguish() { + let test_log_path = Path::new("./logs/native_batch_distinguish"); + let mut c = file_logged_connector(0, test_log_path); + c.connect(Some(Duration::from_secs(1))).unwrap(); + c.next_batch().unwrap(); + c.sync(Some(Duration::from_secs(3))).unwrap(); +}