mirror of
https://github.com/AmbiML/sparrow-kata-full.git
synced 2025-09-16 15:08:27 +00:00
Merge "kata-logger: use a larger ipc buffer"
GitOrigin-RevId: 2801cc0bbdf62bd9e468e0e14d04f8bf740e72ee
This commit is contained in:
@@ -3,7 +3,9 @@
|
||||
use cstr_core::CStr;
|
||||
use log::{Metadata, Record};
|
||||
|
||||
const MAX_MSG_LEN: usize = 256;
|
||||
// TODO(sleffler): until we can copy directly into shared memory limit
|
||||
// stack allocation (can be up to 4096).
|
||||
const MAX_MSG_LEN: usize = 2048;
|
||||
|
||||
pub struct KataLogger;
|
||||
|
||||
@@ -128,7 +130,7 @@ mod tests {
|
||||
// NB: to run these sequentially use --test-threads=1; otherwise
|
||||
// cargo will use multiple threads and you will get failures from
|
||||
// multiple users of MSGS and the global logger; e.g.
|
||||
// cargo +nightly test -- --test-threads=1
|
||||
// cargo test -- --test-threads=1
|
||||
|
||||
#[test]
|
||||
fn test_each_log_level_works() {
|
||||
|
Reference in New Issue
Block a user