Skip to content

enforce unit tests for nvme sensor #2

@drakedog2008

Description

@drakedog2008

The unit test here is to manually trigger a destruction of nvme instance and check the resource recollection status. Is it designed to prevent the resource is held by some async event and never get the chance to release.

The unit test is using ObjectMapper as a observer so it require Dbus and O-M to be enabled in the docker image. We could enforce the feature for presubmit.

https://gbmc.googlesource.com/meta-gbmc-staging/+/refs/heads/gbmc-release-23.18.x/recipes-phosphor/sensors/dbus-sensors/0030-nvmesensor-add-unit-test.patch

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions