Skip to content

Commit

Permalink
fix flakyness
Browse files Browse the repository at this point in the history
Signed-off-by: odubajDT <[email protected]>
  • Loading branch information
odubajDT committed Mar 8, 2023
1 parent 9bfc4cf commit 42e3cb5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion operator/test/component/workloadinstancecontroller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ var _ = Describe("KeptnWorkloadInstanceController", Ordered, func() {
})

BeforeEach(func() { // list var here they will be copied for every spec
appName = names.SimpleNameGenerator.GenerateName("test-app-")
namespace = "default" // namespaces are not deleted in the api so be careful
// when creating you can use ignoreAlreadyExists(err error)
version = "1.0.0"
Expand All @@ -105,6 +104,7 @@ var _ = Describe("KeptnWorkloadInstanceController", Ordered, func() {
Context("with a new AppVersions CRD", func() {

BeforeEach(func() {
appName = names.SimpleNameGenerator.GenerateName("test-app-")
appVersion = createAppVersionInCluster(appName, namespace, version)
})

Expand Down

0 comments on commit 42e3cb5

Please sign in to comment.