-
Notifications
You must be signed in to change notification settings - Fork 32
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
Fix warning message is triggered for healthy replication #1755
Fix warning message is triggered for healthy replication #1755
Conversation
@@ -464,4 +480,76 @@ describe('Discovered application failover/relocate modal test', () => { | |||
expect(screen.getByRole('button', { name: /Cancel/i })).toBeEnabled(); | |||
expect(screen.getByRole('button', { name: /Initiate/i })).toBeDisabled(); | |||
}); | |||
|
|||
test('Volume synchronization delay during relocate', async () => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 for adding tests.
...ages/mco/components/modals/app-failover-relocate/parser/argo-application-set-parser.spec.tsx
Outdated
Show resolved
Hide resolved
@@ -159,6 +159,7 @@ export const DiscoveredApplicationParser: React.FC< | |||
isDRActionReady: checkDRActionReadiness(drPlacementControl, action), | |||
snapshotTakenTime: drPlacementControl?.status?.lastGroupSyncTime, | |||
replicationType: findDRType(drClusters), | |||
schedulingInterval: drPolicy?.spec?.schedulingInterval, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is the problem with using Partial<> type on PlacementControlProps. We need to remove partial soon.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure
...es/mco/components/modals/app-failover-relocate/parser/discovered-application-parser.spec.tsx
Outdated
Show resolved
Hide resolved
...es/mco/components/modals/app-failover-relocate/parser/discovered-application-parser.spec.tsx
Outdated
Show resolved
Hide resolved
...ages/mco/components/modals/app-failover-relocate/parser/argo-application-set-parser.spec.tsx
Outdated
Show resolved
Hide resolved
...ages/mco/components/modals/app-failover-relocate/parser/argo-application-set-parser.spec.tsx
Outdated
Show resolved
Hide resolved
...ages/mco/components/modals/app-failover-relocate/parser/argo-application-set-parser.spec.tsx
Outdated
Show resolved
Hide resolved
...ages/mco/components/modals/app-failover-relocate/parser/argo-application-set-parser.spec.tsx
Outdated
Show resolved
Hide resolved
...ages/mco/components/modals/app-failover-relocate/parser/argo-application-set-parser.spec.tsx
Outdated
Show resolved
Hide resolved
...ages/mco/components/modals/app-failover-relocate/parser/argo-application-set-parser.spec.tsx
Outdated
Show resolved
Hide resolved
...ages/mco/components/modals/app-failover-relocate/parser/argo-application-set-parser.spec.tsx
Outdated
Show resolved
Hide resolved
c0e2944
to
3af536b
Compare
}); | ||
|
||
test('No volume synchronization delay during relocate', async () => { | ||
type = 5; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is tested in my local, it is raising cluster down alert
expect(
screen.getByRole('heading', {
name: /Danger alert: 1 or more managed clusters are offline./i,
})
).toBeInTheDocument()
...es/mco/components/modals/app-failover-relocate/parser/discovered-application-parser.spec.tsx
Outdated
Show resolved
Hide resolved
Signed-off-by: Timothy Asir Jeyasingh <[email protected]>
3af536b
to
1b3087f
Compare
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: GowthamShanmugam, TimothyAsirJeyasing The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
fdf816d
into
red-hat-storage:master
/cherry-pick release-4.18 |
/cherry-pick release-4.18-compatibility |
@GowthamShanmugam: new pull request created: #1758 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
@GowthamShanmugam: new pull request created: #1759 In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
Fixes: https://issues.redhat.com/browse/DFBUGS-866