mirror of
https://github.com/microsoft/onefuzz.git
synced 2025-06-14 11:08:06 +00:00
Update chrono
, remove time
to fix audit failures (#2285)
Closes #1366 and incidentally closes #1266. Requires using a not-yet-merged modification to the latest version of `appinsights-rs` to remove the `time` feature from the `chrono` dependency (https://github.com/dmolokanov/appinsights-rs/pull/280). There are changes to use the new (tokio-based) version of `appinsights-rs`, e.g., made `set_appinsights_clients` async to ensure it is always called from an async context, since the constructor for appinsights now invokes `Tokio::spawn`.
This commit is contained in:
@ -871,7 +871,7 @@ class TestOnefuzz:
|
||||
# about errors
|
||||
if (
|
||||
entry.get("severityLevel") == 2
|
||||
and entry.get("sdkVersion") == "rust:0.1.5"
|
||||
and "rust" in entry.get("sdkVersion")
|
||||
):
|
||||
continue
|
||||
|
||||
@ -897,7 +897,7 @@ class TestOnefuzz:
|
||||
if (
|
||||
"storage queue pop failed" in message
|
||||
or "storage queue delete failed" in message
|
||||
) and entry.get("sdkVersion") == "rust:0.1.5":
|
||||
) and ("rust" in entry.get("sdkVersion")):
|
||||
continue
|
||||
|
||||
if message is None:
|
||||
|
Reference in New Issue
Block a user