Skip to content

Commit b531995

Browse files
committed
Fix tests with resource metric interval adjustment
1 parent ac7c162 commit b531995

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/refactor/test_run_class.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ def test_log_metrics(
6262
folder="/simvue_unit_testing",
6363
retention_period="1 hour",
6464
visibility=visibility,
65-
resources_metrics_interval=1,
6665
)
66+
run.config(resources_metrics_interval=1)
6767
return
6868

6969
run.init(
@@ -74,9 +74,9 @@ def test_log_metrics(
7474
],
7575
folder="/simvue_unit_testing",
7676
visibility=visibility,
77-
resources_metrics_interval=1,
7877
retention_period="1 hour",
7978
)
79+
run.config(resources_metrics_interval=1)
8080

8181
# Speed up the read rate for this test
8282
run._dispatcher._max_buffer_size = 10

0 commit comments

Comments
 (0)