Signed-off-by: Paul S. Schweigert <paulschw@us.ibm.com>
pull/14420/head
Paul S. Schweigert 2022-06-30 14:20:56 -04:00
parent 08b3c8d4d6
commit a1c7198794
No known key found for this signature in database
GPG Key ID: 8DE1106C919E9405
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ func validateCrioSystemd(ctx context.Context, t *testing.T, profile string) {
if err != nil { if err != nil {
t.Errorf("failed to get cri-o cgroup driver. args %q: %v", rr.Command(), err) t.Errorf("failed to get cri-o cgroup driver. args %q: %v", rr.Command(), err)
} }
if strings.Contains(rr.Output(), "cgroup_manager = \"systemd\"") { if !strings.Contains(rr.Output(), "cgroup_manager = \"systemd\"") {
t.Fatalf("expected systemd cgroup driver, got: %v", rr.Output()) t.Fatalf("expected systemd cgroup driver, got: %v", rr.Output())
} }
} }