Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ginkgo test: Unlink application from Jira #94

Merged
merged 11 commits into from
Feb 19, 2024

Conversation

mguetta1
Copy link
Collaborator

Test setup:

  • Create app, Jira connection and migration wave.
  • Export app to Jira instance.

Test steps:

  1. Delete Jira instance --> should fail because there is an issue associated with an application
  2. Delete ticket --> ticket successfully deleted and Jira instance can be removed

The test fails on the first step due to https://issues.redhat.com/browse/MTA-2226

Related to #14

@sshveta
Copy link
Collaborator

sshveta commented Feb 15, 2024

According to comment on bug 2226 , JIRA instances can be deleted even if issues exists . First test should pass now.

@mguetta1
Copy link
Collaborator Author

mguetta1 commented Feb 18, 2024

According to comment on bug 2226 , JIRA instances can be deleted even if issues exists . First test should pass now.

In that case, there is no reason to merge this test
Ticket CRUD test is already coverd in tackle2-hub repo:
https://github.com/konveyor/tackle2-hub/blob/main/test/api/ticket/api_test.go

cc: @aufi

Signed-off-by: Maayan Hadasi <mguetta@redhat.com>
Signed-off-by: Maayan Hadasi <mguetta@redhat.com>
Signed-off-by: Maayan Hadasi <mguetta@redhat.com>
Signed-off-by: Maayan Hadasi <mguetta@redhat.com>
Signed-off-by: Maayan Hadasi <mguetta@redhat.com>
Signed-off-by: Maayan Hadasi <mguetta@redhat.com>
Signed-off-by: Maayan Hadasi <mguetta@redhat.com>
Signed-off-by: Maayan Hadasi <mguetta@redhat.com>
Signed-off-by: Maayan Hadasi <mguetta@redhat.com>
Signed-off-by: Maayan Hadasi <mguetta@redhat.com>
Signed-off-by: Maayan Hadasi <mguetta@redhat.com>
Copy link
Member

@aufi aufi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't see an overlapping with basic crud test in hub API as a problem, LGTM.

(sorry for close/reopen, did a wrong click)

@mguetta1 mguetta1 merged commit 97d086f into konveyor:main Feb 19, 2024
6 of 9 checks passed
@mguetta1 mguetta1 deleted the mw-unlink-app branch March 19, 2024 08:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants