Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcPaquette committed Dec 18, 2024
1 parent 7276449 commit a8bee67
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions gqt/create_linux_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ var _ = Describe("Creating a Container", func() {
"b *:* m",
"c 136:* rwm",
"c 5:2 rwm",
"c 10:200 rwm",
}
contentLines := strings.Split(strings.TrimSpace(content), "\n")
Expect(contentLines).To(HaveLen(len(expectedAllowedDevices)))
Expand Down
2 changes: 1 addition & 1 deletion gqt/limits_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,10 @@ var _ = Describe("Limits", func() {
"b *:* m",
"c 136:* rwm",
"c 5:2 rwm",
"c 10:200 rwm",
}

if privileged {
expectedAllowedDevices = append(expectedAllowedDevices, "c 10:200 rwm")
expectedAllowedDevices = append(expectedAllowedDevices, "c 10:229 rwm")
}

Expand Down

0 comments on commit a8bee67

Please sign in to comment.