Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Schmidt committed Oct 9, 2023
1 parent c216a0f commit 93a7f4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/unit/utils/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -1183,13 +1183,13 @@ def create_tc(
},
},
ns_config={
"1.1.1.1": {"ns1": {"stop-writes-used-pct": "90"}},
"1.1.1.1": {"ns1": {"storage-engine.stop-writes-used-pct": "90"}},
},
expected={
"1.1.1.1": {
("ns1", None, "data_used_bytes"): {
"metric": "data_used_bytes",
"config": "stop-writes-used-pct",
"config": "storage-engine.stop-writes-used-pct",
"stop_writes": False,
"metric_usage": 10,
"metric_threshold": 90,
Expand All @@ -1210,13 +1210,13 @@ def create_tc(
},
},
ns_config={
"1.1.1.1": {"ns1": {"stop-writes-used-pct": "90"}},
"1.1.1.1": {"ns1": {"storage-engine.stop-writes-used-pct": "90"}},
},
expected={
"1.1.1.1": {
("ns1", None, "data_used_bytes"): {
"metric": "data_used_bytes",
"config": "stop-writes-used-pct",
"config": "storage-engine.stop-writes-used-pct",
"stop_writes": True,
"metric_usage": 90,
"metric_threshold": 90,
Expand Down

0 comments on commit 93a7f4a

Please sign in to comment.