Skip to content
This repository has been archived by the owner on May 21, 2024. It is now read-only.

Commit

Permalink
Do not update existing fixture
Browse files Browse the repository at this point in the history
  • Loading branch information
RDruon committed Mar 8, 2024
1 parent 17574eb commit 52f8ec7
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 326 deletions.
5 changes: 4 additions & 1 deletion src/base_parsers.rs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ mod tests {
fn test_param_period() {
let result = param_period("exports").parse("exports.1.2.3.130@o2ib.stats=Y\n");

assert_eq!(result, Ok((Param("exports".to_string()), "1.2.3.130@o2ib.stats=Y\n")))
assert_eq!(
result,
Ok((Param("exports".to_string()), "1.2.3.130@o2ib.stats=Y\n"))
)
}
}
45 changes: 23 additions & 22 deletions src/fixtures/valid/valid.txt
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,29 @@ I/O time (1/1000s) ios % cum % | ios % cum %

read | write
disk I/O size ios % cum % | ios % cum %
mdt.ai400-MDT0000.exports.0@lo.uuid=
52cb8dca-ba5c-4725-9cff-41cd0d45e3e7
ai400-MDT0000-lwp-OST0000_UUID
ai400-MDT0000-lwp-OST0001_UUID
ai400-MDT0000-lwp-MDT0000_UUID
mdt.ai400-MDT0000.exports.172.16.0.85@o2ib.uuid=
cf8d4a32-132f-48ea-9159-044a7823ca67
ai400-MDT0000-lwp-OST0005_UUID
ai400-MDT0000-lwp-OST0004_UUID
ai400-MDT0000-lwp-MDT0002_UUID
ai400-MDT0002-mdtlov_UUID
mdt.ai400-MDT0000.exports.172.16.0.87@o2ib.uuid=
bea2448e-43cc-46da-84cd-21d8d403d44a
ai400-MDT0000-lwp-MDT0001_UUID
ai400-MDT0000-lwp-OST0003_UUID
ai400-MDT0000-lwp-OST0002_UUID
ai400-MDT0001-mdtlov_UUID
mdt.ai400-MDT0000.exports.172.16.0.89@o2ib.uuid=
115d6045-2534-4ca1-a637-0b1544ead16f
ai400-MDT0000-lwp-OST0006_UUID
ai400-MDT0000-lwp-MDT0003_UUID
ai400-MDT0000-lwp-OST0007_UUID
ai400-MDT0003-mdtlov_UUID
obdfilter.ai400-OST0000.job_stats=job_stats:
obdfilter.ai400-OST0001.job_stats=job_stats:
obdfilter.ai400-OST0000.stats=
Expand Down Expand Up @@ -249,28 +272,6 @@ getattr 23 samples [usecs] 2 192 629 52487
getxattr 2 samples [usecs] 18 29 47 1165
statfs 44863 samples [usecs] 0 43 323074 3055172
mdt.ai400-MDT0000.num_exports=19
mdt.testfs-MDT0000.exports.0@lo.stats=
snapshot_time 1687448322.813894158 secs.nsecs
mdt.testfs-MDT0000.exports.1.2.3.130@o2ib.stats=
snapshot_time 1687448322.813921821 secs.nsecs
statfs 5830 samples [usecs] 2 144 63916 927644
mdt.testfs-MDT0000.exports.1.2.3.131@o2ib.stats=
snapshot_time 1687448322.813936409 secs.nsecs
statfs 5830 samples [usecs] 0 67 25272 159582
mdt.testfs-MDT0000.exports.1.2.3.132@o2ib.stats=
snapshot_time 1687448322.813948436 secs.nsecs
statfs 5830 samples [usecs] 0 233 30686 277350
mdt.testfs-MDT0000.exports.1.2.3.87@o2ib.stats=
snapshot_time 1687448322.813962980 secs.nsecs
open 2049 samples [usecs] 39 1239 191256 27343170
close 171273 samples [usecs] 6 609 3971940 128888350
mknod 2048 samples [usecs] 35 1231 176023 24464321
mkdir 1 samples [usecs] 431 431 431 185761
getattr 273635 samples [usecs] 1 986 957611 12472685
setattr 2049 samples [usecs] 16 100 74209 2940713
getxattr 69111 samples [usecs] 6 154 933062 13781230
statfs 6 samples [usecs] 0 33 79 1951
sync 2048 samples [usecs] 2 477 19019 918471
ldlm.namespaces.mdt-ai400-MDT0000_UUID.contended_locks=32
ldlm.namespaces.filter-ai400-OST0000_UUID.contended_locks=32
ldlm.namespaces.filter-ai400-OST0001_UUID.contended_locks=32
Expand Down
Loading

0 comments on commit 52f8ec7

Please sign in to comment.