Skip to content

Commit

Permalink
Include more details module checks
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyharisch committed Oct 30, 2024
1 parent 9ee33c1 commit dcd61ec
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tests/e2e/modulereleasemeta_watch_trigger_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,19 @@ var _ = Describe("ModuleReleaseMeta Watch Trigger", Ordered, func() {
WithContext(ctx).
WithArguments(kyma.GetName(), kyma.GetNamespace(), kcpClient, shared.StateError).
Should(Succeed())
By("And the Module Status is in \"Error\" State", func() {
Eventually(CheckModuleState).
WithContext(ctx).
WithArguments(kcpClient, kyma.GetName(), kyma.GetNamespace(), module.Name, shared.StateError).
Should(Succeed())
By("And the Module Status has correct error message", func() {
Eventually(ModuleMessageInKymaStatusIsCorrect).
WithContext(ctx).
WithArguments(kcpClient, kyma.GetName(), kyma.GetNamespace(), module.Name, "failed to get module template: ModuleTemplate.operator.kyma-project.io \"template-operator-1.2.3\" not found").
Should(Succeed())
}

Check failure on line 71 in tests/e2e/modulereleasemeta_watch_trigger_test.go

View workflow job for this annotation

GitHub Actions / Run 'make test'

missing ',' before newline in argument list

Check failure on line 71 in tests/e2e/modulereleasemeta_watch_trigger_test.go

View workflow job for this annotation

GitHub Actions / lint

syntax error: unexpected newline in argument list; possibly missing comma or ) (typecheck)

Check failure on line 71 in tests/e2e/modulereleasemeta_watch_trigger_test.go

View workflow job for this annotation

GitHub Actions / lint

missing ',' before newline in argument list (typecheck)
})

Check failure on line 72 in tests/e2e/modulereleasemeta_watch_trigger_test.go

View workflow job for this annotation

GitHub Actions / Run 'make test'

expected operand, found '}'

Check failure on line 72 in tests/e2e/modulereleasemeta_watch_trigger_test.go

View workflow job for this annotation

GitHub Actions / lint

expected operand, found '}' (typecheck)

})

It("When ModuleReleaseMeta channels get updated with valid version", func() {
Expand Down

0 comments on commit dcd61ec

Please sign in to comment.