Description: Ignore tests that need a working journalctl --user Forwarded: not-needed --- a/tests/journal.rs +++ b/tests/journal.rs @@ -166,6 +166,7 @@ fn retry_read_one_line_from_journal(test .unwrap() } +#[ignore] #[test] fn simple_message() { with_journald(|| { @@ -177,6 +178,7 @@ fn simple_message() { }); } +#[ignore] #[test] fn custom_priorities() { fn check_message(level: &str, priority: &str) { @@ -212,6 +214,7 @@ fn custom_priorities() { with_journald_layer(layer, test); } +#[ignore] #[test] fn multiline_message() { with_journald(|| { @@ -223,6 +226,7 @@ fn multiline_message() { }); } +#[ignore] #[test] fn multiline_message_trailing_newline() { with_journald(|| { @@ -237,6 +241,7 @@ fn multiline_message_trailing_newline() }); } +#[ignore] #[test] fn internal_null_byte() { with_journald(|| { @@ -248,6 +253,7 @@ fn internal_null_byte() { }); } +#[ignore] #[test] fn large_message() { let large_string = "b".repeat(512_000); @@ -263,6 +269,7 @@ fn large_message() { }); } +#[ignore] #[test] fn simple_metadata() { let sub = Layer::new() @@ -282,6 +289,7 @@ fn simple_metadata() { }); } +#[ignore] #[test] fn journal_fields() { let sub = Layer::new() @@ -304,6 +312,7 @@ fn journal_fields() { }); } +#[ignore] #[test] fn span_metadata() { with_journald(|| { @@ -328,6 +337,7 @@ fn span_metadata() { }); } +#[ignore] #[test] fn multiple_spans_metadata() { with_journald(|| { @@ -354,6 +364,7 @@ fn multiple_spans_metadata() { }); } +#[ignore] #[test] fn spans_field_collision() { with_journald(|| {