Skip to content

Commit

Permalink
chore: add missing resources for kustomization yaml (#5525)
Browse files Browse the repository at this point in the history
  • Loading branch information
ldming authored Oct 18, 2023
1 parent 1ee2a13 commit 9ac01c4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions config/crd/kustomization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ resources:
- bases/apps.kubeblocks.io_clusterversions.yaml
- bases/apps.kubeblocks.io_configconstraints.yaml
- bases/apps.kubeblocks.io_opsrequests.yaml
- bases/dataprotection.kubeblocks.io_actionsets.yaml
- bases/dataprotection.kubeblocks.io_backupschedules.yaml
- bases/dataprotection.kubeblocks.io_backuppolicies.yaml
- bases/dataprotection.kubeblocks.io_backups.yaml
- bases/extensions.kubeblocks.io_addons.yaml
Expand Down
6 changes: 3 additions & 3 deletions pkg/dataprotection/utils/periodical_enqueue_source_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -131,15 +131,15 @@ var _ = Describe("Periodical Enqueue Source", func() {
return backupList
}

By("start source")
Expect(source.Start(ctx, nil, queue)).Should(Succeed())

By("create a resource")
createBackup(backupName + "-1")

By("create another resource")
createBackup(backupName + "-2")

By("start source")
Expect(source.Start(ctx, nil, queue)).Should(Succeed())

time.Sleep(2 * time.Second)
Expect(queue.Len()).Should(Equal(2))
first, _ := queue.Get()
Expand Down

0 comments on commit 9ac01c4

Please sign in to comment.