Skip to content

Commit

Permalink
fix broken test
Browse files Browse the repository at this point in the history
  • Loading branch information
piksel committed Jan 6, 2024
1 parent a6949de commit a482680
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/container/container_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -380,9 +380,9 @@ var _ = Describe("the container", func() {
"com.centurylinklabs.watchtower.lifecycle.pre-update-timeout": "3",
"com.centurylinklabs.watchtower.lifecycle.post-update-timeout": "5",
}))
preTimeout := c.PreUpdateTimeout()
preTimeout := c.GetLifecycleTimeout(types.PreUpdate)
Expect(preTimeout).To(Equal(3))
postTimeout := c.PostUpdateTimeout()
postTimeout := c.GetLifecycleTimeout(types.PostUpdate)
Expect(postTimeout).To(Equal(5))
})
})
Expand Down

0 comments on commit a482680

Please sign in to comment.