@@ -32,7 +32,6 @@ import (
3232 "github.com/containerd/nerdctl/mod/tigron/tig"
3333
3434 "github.com/containerd/nerdctl/v2/pkg/healthcheck"
35- "github.com/containerd/nerdctl/v2/pkg/rootlessutil"
3635 "github.com/containerd/nerdctl/v2/pkg/testutil"
3736 "github.com/containerd/nerdctl/v2/pkg/testutil/nerdtest"
3837)
@@ -44,9 +43,9 @@ func TestContainerHealthCheckBasic(t *testing.T) {
4443 testCase .Require = require .Not (nerdtest .Docker )
4544
4645 // Skip systemd tests in rootless environment to bypass dbus permission issues
47- if rootlessutil .IsRootless () {
48- t .Skip ("systemd healthcheck tests are skipped in rootless environment" )
49- }
46+ // if rootlessutil.IsRootless() {
47+ // t.Skip("systemd healthcheck tests are skipped in rootless environment")
48+ // }
5049
5150 testCase .SubTests = []* test.Case {
5251 {
@@ -146,9 +145,9 @@ func TestContainerHealthCheckAdvance(t *testing.T) {
146145 testCase .Require = require .Not (nerdtest .Docker )
147146
148147 // Skip systemd tests in rootless environment to bypass dbus permission issues
149- if rootlessutil .IsRootless () {
150- t .Skip ("systemd healthcheck tests are skipped in rootless environment" )
151- }
148+ // if rootlessutil.IsRootless() {
149+ // t.Skip("systemd healthcheck tests are skipped in rootless environment")
150+ // }
152151
153152 testCase .SubTests = []* test.Case {
154153 {
@@ -618,9 +617,9 @@ func TestHealthCheck_SystemdIntegration_Basic(t *testing.T) {
618617 testCase := nerdtest .Setup ()
619618 testCase .Require = require .Not (nerdtest .Docker )
620619 // Skip systemd tests in rootless environment to bypass dbus permission issues
621- if rootlessutil .IsRootless () {
622- t .Skip ("systemd healthcheck tests are skipped in rootless environment" )
623- }
620+ // if rootlessutil.IsRootless() {
621+ // t.Skip("systemd healthcheck tests are skipped in rootless environment")
622+ // }
624623
625624 testCase .SubTests = []* test.Case {
626625 {
@@ -802,9 +801,9 @@ func TestHealthCheck_SystemdIntegration_Advanced(t *testing.T) {
802801 testCase := nerdtest .Setup ()
803802 testCase .Require = require .Not (nerdtest .Docker )
804803 // Skip systemd tests in rootless environment to bypass dbus permission issues
805- if rootlessutil .IsRootless () {
806- t .Skip ("systemd healthcheck tests are skipped in rootless environment" )
807- }
804+ // if rootlessutil.IsRootless() {
805+ // t.Skip("systemd healthcheck tests are skipped in rootless environment")
806+ // }
808807
809808 testCase .SubTests = []* test.Case {
810809 {
0 commit comments