Skip to content

Commit

Permalink
address feedback and fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
khanayan123 committed Sep 20, 2024
1 parent c46f5ce commit 4227910
Show file tree
Hide file tree
Showing 9 changed files with 8 additions and 14 deletions.
2 changes: 1 addition & 1 deletion manifests/cpp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ tests/:
Test_Dsm_Manual_Checkpoint_Intra_Process: missing_feature
parametric/:
test_config_consistency.py:
Test_Config_DDTraceAgentURL: missing_feature
Test_Config_TraceAgentURL: missing_feature
Test_Config_TraceEnabled: missing_feature
Test_Config_TraceLogDirectory: missing_feature
Test_Config_UnifiedServiceTagging: missing_feature
Expand Down
2 changes: 1 addition & 1 deletion manifests/dotnet.yml
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ tests/:
TestAdmisionControllerProfiling: missing_feature
parametric/:
test_config_consistency.py:
Test_Config_DDTraceAgentURL: missing_feature
Test_Config_TraceAgentURL: missing_feature
Test_Config_TraceEnabled: missing_feature
Test_Config_TraceLogDirectory: missing_feature
Test_Config_UnifiedServiceTagging: missing_feature
Expand Down
2 changes: 1 addition & 1 deletion manifests/golang.yml
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ tests/:
net-http: missing_feature (Endpoint not implemented)
parametric/:
test_config_consistency.py:
Test_Config_DDTraceAgentURL: missing_feature
Test_Config_TraceAgentURL: missing_feature
Test_Config_TraceEnabled: missing_feature
Test_Config_TraceLogDirectory: missing_feature
Test_Config_UnifiedServiceTagging: missing_feature
Expand Down
2 changes: 1 addition & 1 deletion manifests/java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ tests/:
TestAdmisionControllerProfiling: v1.39.0
parametric/:
test_config_consistency.py:
Test_Config_DDTraceAgentURL: missing_feature
Test_Config_TraceAgentURL: missing_feature
Test_Config_TraceEnabled: missing_feature
Test_Config_TraceLogDirectory: missing_feature
Test_Config_UnifiedServiceTagging: missing_feature
Expand Down
2 changes: 1 addition & 1 deletion manifests/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,7 @@ tests/:
TestAdmisionControllerProfiling: *ref_5_22_0
parametric/:
test_config_consistency.py:
Test_Config_DDTraceAgentURL: *ref_5_23_0
Test_Config_TraceAgentURL: *ref_5_22_0
Test_Config_TraceEnabled: missing_feature
Test_Config_TraceLogDirectory: missing_feature
Test_Config_UnifiedServiceTagging: missing_feature
Expand Down
2 changes: 1 addition & 1 deletion manifests/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ tests/:
test_128_bit_traceids.py:
Test_128_Bit_Traceids: v0.84.0
test_config_consistency.py:
Test_Config_DDTraceAgentURL: missing_feature
Test_Config_TraceAgentURL: missing_feature
Test_Config_TraceEnabled: v1.3.0 # Unknown initial version
Test_Config_TraceLogDirectory: missing_feature
Test_Config_UnifiedServiceTagging: missing_feature
Expand Down
2 changes: 1 addition & 1 deletion manifests/python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -679,7 +679,7 @@ tests/:
test_128_bit_traceids.py:
Test_128_Bit_Traceids: v2.6.0
test_config_consistency.py:
Test_Config_DDTraceAgentURL: missing_feature
Test_Config_TraceAgentURL: missing_feature
Test_Config_TraceEnabled: missing_feature
Test_Config_TraceLogDirectory: missing_feature
Test_Config_UnifiedServiceTagging: missing_feature
Expand Down
2 changes: 1 addition & 1 deletion manifests/ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ tests/:
TestAdmisionControllerProfiling: missing_feature
parametric/:
test_config_consistency.py:
Test_Config_DDTraceAgentURL: missing_feature
Test_Config_TraceAgentURL: missing_feature
Test_Config_TraceEnabled: missing_feature
Test_Config_TraceLogDirectory: missing_feature
Test_Config_UnifiedServiceTagging: missing_feature
Expand Down
6 changes: 0 additions & 6 deletions tests/parametric/test_config_consistency.py
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,6 @@ def test_dd_trace_agent_unix_url_nonexistent(self, library_env, test_agent, test
assert resp["dd_trace_agent_url"] == "unix:///var/run/datadog/apm.socket"
with pytest.raises(ValueError):
test_agent.wait_for_num_traces(num=1, clear=True)
assert (
True
), "wait_for_num_traces raises an exception after waiting for 1 trace." # wait_for_num_traces will throw an error if not received within 2 sec, so we expect to see an exception

# The DD_TRACE_AGENT_URL is validated using the tracer configuration. This approach avoids the need to modify the setup file to create additional containers at the specified URL, which would be unnecessarily complex.
@parametrize(
Expand All @@ -155,6 +152,3 @@ def test_dd_trace_agent_http_url_nonexistent(self, library_env, test_agent, test
assert resp["dd_trace_agent_url"] == "http://random-host:9999/"
with pytest.raises(ValueError):
test_agent.wait_for_num_traces(num=1, clear=True)
assert (
True
), "wait_for_num_traces raises an exception after waiting for 1 trace." # wait_for_num_traces will throw an error if not received within 2 sec, so we expect to see an exception

0 comments on commit 4227910

Please sign in to comment.