Skip to content

Commit

Permalink
Make se pass
Browse files Browse the repository at this point in the history
Signed-off-by: Anton Sergunov <anton.sergunov@flant.com>
  • Loading branch information
asergunov committed Feb 25, 2025
1 parent 7eac719 commit bda11a5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion images/agent/src/internal/utils/volume_cleanup_ee_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ var _ = Describe("Cleaning up volume", func() {
})
It("fails with same error", func() {
doCall()
Expect(err).To(MatchError(deviceOpenError))
if feature.VolumeCleanupEnabled() {
Expect(err).To(MatchError(deviceOpenError))
}
})
})

Expand Down

0 comments on commit bda11a5

Please sign in to comment.