Skip to content
Open
Show file tree
Hide file tree
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
2 changes: 2 additions & 0 deletions tests/integration/monitor/test_plugin_get_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"""

import os
from unittest import mock

import pytest

Expand Down Expand Up @@ -85,6 +86,7 @@ def test_missing_time_params(self):
)
assert "Time duration required" in stderr

@mock.patch.dict(os.environ, {"JWE_TOKEN": "fake-token"})
def test_invalid_service(self):
"""Test that an unknown service name hits the API and fails"""
stderr = exec_failing_test_command(
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/nodebalancers/test_node_balancers.py
Original file line number Diff line number Diff line change
Expand Up @@ -482,7 +482,7 @@ def test_update_node_for_node_balancer_udp_configuration(
== node_id
+ ",defaultnode1,"
+ nodebalancer_with_udp_config_and_node[3]
+ ":80,Unknown,30,none"
+ ":80,Unknown,30,none,"
)


Expand Down Expand Up @@ -511,7 +511,7 @@ def test_list_nodes_for_node_balancer_udp_configuration(
== node_id
+ ",defaultnode1,"
+ nodebalancer_with_udp_config_and_node[3]
+ ":80,Unknown,100,none"
+ ":80,Unknown,100,none,"
)


Expand Down Expand Up @@ -540,7 +540,7 @@ def test_view_node_for_node_balancer_udp_configuration(
== node_id
+ ",defaultnode1,"
+ nodebalancer_with_udp_config_and_node[3]
+ ":80,Unknown,100,none"
+ ":80,Unknown,100,none,"
)


Expand Down
Loading