Skip to content

enforce unit tests for nvme sensor #2

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

Activity

  1. changed the title [-][FR] enforcing the unit test for nvme sensor[/-] [+]enforce unit tests for nvme sensor[/+] on Sep 25, 2023
  2. added a commit that references this issue on Nov 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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