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
Currently, MetricsTest will fail if not running on Windows because the C# sensor doesn't run.
Unfortunately there is only a log in debug (not activated by default) that gives a hint about why it fails.
ITs should fail immediately if not running on Windows, with a clear message about the reason.
The text was updated successfully, but these errors were encountered:
You can do the same as the sensor itself is doing:
if (!SystemUtils.IS_OS_WINDOWS) {
LOG.debug("OS is not Windows. Skip Sensor.");
return false;
}
(and here the log should be changed to info or warn).
Currently, MetricsTest will fail if not running on Windows because the C# sensor doesn't run.
Unfortunately there is only a log in debug (not activated by default) that gives a hint about why it fails.
ITs should fail immediately if not running on Windows, with a clear message about the reason.
The text was updated successfully, but these errors were encountered: