Skip to content

Commit d83abcf

Browse files
authored
fixing a test (#1254)
1 parent 395ad4e commit d83abcf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/builtin_monitors/kubernetes_monitor_test.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1494,9 +1494,9 @@ def mock_get_containers_from_filesystem(k8s_namespaces_to_include=None):
14941494
assert_has_calls_non_consecutive(
14951495
logger,
14961496
[
1497-
mock.call.info(StringMatcher("Excluding pod based on SCALYR_K8S_INCLUDE_ALL_CONTAINERS=false."), limit_key=mock.ANY, limit_once_per_x_secs=mock.ANY),
1497+
mock.call.info(StringMatcher("Excluding pod based on SCALYR_K8S_INCLUDE_ALL_CONTAINERS=false.")),
14981498
mock.call.error(mock.ANY, exc_info=self.K8sApiExceptionMatcher(401)),
1499-
mock.call.info(StringMatcher("Including pod based on SCALYR_K8S_INCLUDE_ALL_CONTAINERS=true."), limit_key=mock.ANY, limit_once_per_x_secs=mock.ANY),
1499+
mock.call.info(StringMatcher("Including pod based on SCALYR_K8S_INCLUDE_ALL_CONTAINERS=true.")),
15001500
mock.call.error(mock.ANY, exc_info=self.K8sApiExceptionMatcher(401)),
15011501
],
15021502
)

0 commit comments

Comments
 (0)