Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion src/borg/testsuite/archiver/benchmark_cmd_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,9 @@ def test_benchmark_crud_json_lines(archiver, monkeypatch):
assert isinstance(entry["time"], float)
assert entry["time"] > 0
assert isinstance(entry["io"], int)
assert entry["io"] > 0
# io is int(bytes/second); with this test's 1-byte samples it is 0
# whenever the operation takes >= 1s (seen on a loaded OpenBSD CI VM).
assert entry["io"] >= 0


def test_benchmark_cpu(archiver, monkeypatch):
Expand Down
Loading