Skip to content

Commit

Permalink
Functional test dbpurge job
Browse files Browse the repository at this point in the history
Nova operator's dbpurge job should assigned a node

Depends-on: #894
Closes #OSPRH-10765
  • Loading branch information
auniyal61 committed Nov 18, 2024
1 parent b95e933 commit fe3da3d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/functional/novaconductor_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -376,6 +376,8 @@ var _ = Describe("NovaConductor controller", func() {
Equal(fmt.Sprintf("%d", *conductor.Spec.DBPurge.ArchiveAge)))
Expect(GetEnvVarValue(jobEnv, "PURGE_AGE", "")).To(
Equal(fmt.Sprintf("%d", *conductor.Spec.DBPurge.PurgeAge)))
nodeSelector := cron.Spec.JobTemplate.Spec.Template.Spec.NodeSelector
Expect(nodeSelector).NotTo(BeNil())

th.ExpectCondition(
cell0.ConductorName,
Expand Down

0 comments on commit fe3da3d

Please sign in to comment.