Skip to content

Fix duration.sum.us value in JSON #336

Fix duration.sum.us value in JSON

Fix duration.sum.us value in JSON #336

Triggered via pull request November 9, 2023 13:10
Status Failure
Total duration 19m 15s
Artifacts 1

test-windows.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
tests
Process completed with exit code 1.
Elastic.Apm.Tests.dll ► Elastic.Apm.Tests.SerializationTests ► SerializationTests.DroppedSpanStatsTest: build/output/junit-unit-windows-NETCoreApp70-Elastic.Apm.Tests.xml#L1
Failed test found in: build/output/junit-unit-windows-NETCoreApp70-Elastic.Apm.Tests.xml Error: Expected json "{"context":{},"dropped_spans_stats":[{"destination_service_resource":"foo.bar:443","service_target_type":"bar","service_target_name":"foo.bar:443","outcome":"success","duration":{"count":1,"sum":{"us":100}}}],"duration":4.171,"id":"e519de58afc07588","sampled":true,"name":"foo","outcome":"success","sample_rate":1.0,"span_count":{"dropped":1,"started":1},"timestamp":1699536273861977,"trace_id":"2b4ce975fefa2c5f18d7b71acfe4997e","type":"test"}" to contain ""duration":{"count":1,"sum":{"us":100.0}}".
Elastic.Apm.Tests.dll ► Elastic.Apm.Tests.SerializationTests ► SerializationTests.DroppedSpanStatsTest: build/output/junit-unit-windows-NETFramework462-Elastic.Apm.Tests.xml#L1
Failed test found in: build/output/junit-unit-windows-NETFramework462-Elastic.Apm.Tests.xml Error: Expected json "{"context":{},"dropped_spans_stats":[{"destination_service_resource":"foo.bar:443","service_target_type":"bar","service_target_name":"foo.bar:443","outcome":"success","duration":{"count":1,"sum":{"us":100}}}],"duration":0.0,"id":"78174df5dfad5a4d","sampled":true,"name":"foo","outcome":"success","sample_rate":1.0,"span_count":{"dropped":1,"started":1},"timestamp":1699535997177377,"trace_id":"c2f5257d2086cf4193ff78111b3e1634","type":"test"}" to contain ""duration":{"count":1,"sum":{"us":100.0}}".

Artifacts

Produced during runtime
Name Size
test-results-windows Expired
3.73 MB