-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Labels
bugSomething isn't workingSomething isn't workingneeds-triageapplied to all new customer/user issues. Removed after triage occurs.applied to all new customer/user issues. Removed after triage occurs.
Description
Description
It seems there is a flaky test on the test suite of the advisories functions. I ran the test locally and it passed but I got an error on the CI here: https://github.com/wolfi-dev/wolfictl/actions/runs/9596890702/job/26464754752?pr=974#step:8:50.
TestCreate/creating_additional_advisory_for_package
create_test.go:221: Update() mismatch (-want +got):
v2.Document{
SchemaVersion: "2.0.2",
Package: {Name: "brotli"},
Advisories: v2.Advisories{
- {
- ID: "CGA-xoxo-xoxo-xoxo2",
- Aliases: []string{"CVE-2023-1234"},
- Events: []v2.Event{{Timestamp: s"2022-09-26T00:00:00Z", Type: "detection", Data: v2.Detection{...}}},
- },
{Aliases: {"CVE-2020-8927"}, Events: {{Timestamp: s"2022-09-15T02:40:18Z", Type: "fixed", Data: v2.Fixed{FixedVersion: "1.0.9-r0"}}}, ...},
+ {
+ ID: "CGA-xr[44](https://github.com/wolfi-dev/wolfictl/actions/runs/9596890702/job/26464754752?pr=974#step:8:45)-c573-6rmw",
+ Aliases: []string{"CVE-2023-1234"},
+ Events: []v2.Event{{Timestamp: s"2022-09-26T00:00:00Z", Type: "detection", Data: v2.Detection{...}}},
+ },
},
}
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingneeds-triageapplied to all new customer/user issues. Removed after triage occurs.applied to all new customer/user issues. Removed after triage occurs.