Skip to content

Commit

Permalink
Fix test.
Browse files Browse the repository at this point in the history
  • Loading branch information
Gerrit91 committed Aug 20, 2024
1 parent a63debd commit b9c7338
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/controller/operatingsystemconfig/actuator_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ var _ = Describe("Actuator", func() {
Expect(string(userData)).To(HaveSuffix("}")) // check we have ignition format
Expect(command).To(BeNil())
Expect(unitNames).To(ConsistOf("some-unit.service"))
Expect(fileNames).To(ConsistOf("/some/file"))
Expect(fileNames).To(ConsistOf("/some/file", "/etc/containerd/config.toml"))
Expect(extensionUnits).To(BeEmpty())
Expect(extensionFiles).To(BeEmpty())
})
Expand All @@ -94,7 +94,7 @@ var _ = Describe("Actuator", func() {
Expect(userData).NotTo(BeEmpty()) // legacy logic is tested in ./generator/generator_test.go
Expect(command).To(BeNil())
Expect(unitNames).To(ConsistOf("some-unit.service"))
Expect(fileNames).To(ConsistOf("/some/file"))
Expect(fileNames).To(ConsistOf("/some/file", "/etc/containerd/config.toml"))
})
})
})
Expand Down

0 comments on commit b9c7338

Please sign in to comment.