You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No noticeable regression was detected and to unblock a PR they were just skipped But someone familiar with NLog hopefully can chime in on these. Are they still needed? If so why are they failing yet we can't identify any issues.
So it looks like I'm the one who originally put these tests in there, but I basically just copied them from the serilog integration's tests at the time. I'm not sure if there was another reason why serilog specifically needed to do this, but it appears the intention of these tests was to prevent errors that originated from the SDK from being included? Regardless, I think these tests can be safely removed, as you're right, they don't look like they should ever pass, and what they seem to be asserting doesn't need to be tested for IMO.
Activity
SimonCropp commentedon Oct 6, 2021
i dont understand how this could ever work.
those tests assert
but ConfigureScope is called in the constructor of
am i missing something obvious?
josh-degraw commentedon Oct 6, 2021
So it looks like I'm the one who originally put these tests in there, but I basically just copied them from the serilog integration's tests at the time. I'm not sure if there was another reason why serilog specifically needed to do this, but it appears the intention of these tests was to prevent errors that originated from the SDK from being included? Regardless, I think these tests can be safely removed, as you're right, they don't look like they should ever pass, and what they seem to be asserting doesn't need to be tested for IMO.
Remove invalid NLog tests. Closes #686
Remove invalid NLog tests. Closes #686 (#1243)
SimonCropp commentedon Oct 6, 2021
@josh-degraw thanks for the extra context