opensciencegrid / xrootd-monitoring-shoveler

XRootD monitoring flow packet shoveler
Apache License 2.0
2 stars 7 forks source link

Fix verify header report false on summary packet #51

Closed haoming29 closed 7 months ago

haoming29 commented 7 months ago

For XRootD summary packet, it's in XML format without a byte header. The current verify header function doesn't take into account for such format and will report false on such packet. This PR fixes this issue.

This PR also fixes the null pointer error when running each individual test cases due to nil log global variable. This PR add a default log value.

djw8605 commented 7 months ago

A few conflicts to resolve.