Skip to content

Commit

Permalink
Remove Test_Agent from test_remote_configuration.py (#3411)
Browse files Browse the repository at this point in the history
  • Loading branch information
vpellan authored Nov 8, 2024
1 parent cc51f49 commit 40d4a82
Showing 1 changed file with 0 additions and 22 deletions.
22 changes: 0 additions & 22 deletions tests/remote_config/test_remote_configuration.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,6 @@
from utils.tools import logger


@features.agent_remote_configuration
class Test_Agent:
"""misc test on agent/remote config features"""

@irrelevant(library="nodejs", reason="nodejs tracer does not call /info")
@irrelevant(library="php", reason="PHP tracer does not call /info")
@irrelevant(library="cpp")
@scenarios.remote_config_mocked_backend_asm_dd
def test_agent_provide_config_endpoint(self):
"""Check that agent exposes /v0.7/config endpoint"""
all_data = list(interfaces.library.get_data("/info"))

assert len(all_data) > 0, "The library didn't make any /info request to the agent"

for data in all_data:
for endpoint in data["response"]["content"]["endpoints"]:
if endpoint == "/v0.7/config":
return

raise ValueError("Agent did not provide /v0.7/config endpoint")


@rfc("https://docs.google.com/document/d/1u_G7TOr8wJX0dOM_zUDKuRJgxoJU_hVTd5SeaMucQUs/edit#heading=h.octuyiil30ph")
@features.remote_config_object_supported
class RemoteConfigurationFieldsBasicTests:
Expand Down

0 comments on commit 40d4a82

Please sign in to comment.