File tree 1 file changed +17
-0
lines changed
1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change @@ -355,6 +355,23 @@ func (suite *PlanTestSuite) TestSyncSecondRoundWithProviderSpecificChange() {
355
355
validateEntries (suite .T (), changes .Delete , expectedDelete )
356
356
}
357
357
358
+ func (suite * PlanTestSuite ) TestSyncSecondRoundWithProviderSpecificNoChange () {
359
+ current := []* endpoint.Endpoint {suite .bar127AWithProviderSpecificTrue }
360
+ desired := []* endpoint.Endpoint {suite .bar127AWithProviderSpecificTrue }
361
+
362
+ p := & Plan {
363
+ Policies : []Policy {& SyncPolicy {}},
364
+ Current : current ,
365
+ Desired : desired ,
366
+ ManagedRecords : []string {endpoint .RecordTypeA , endpoint .RecordTypeCNAME },
367
+ }
368
+
369
+ changes := p .Calculate ().Changes
370
+ if changes .HasChanges () {
371
+ suite .T ().Fatal ("test should not have changes" )
372
+ }
373
+ }
374
+
358
375
func (suite * PlanTestSuite ) TestSyncSecondRoundWithProviderSpecificRemoval () {
359
376
current := []* endpoint.Endpoint {suite .bar127AWithProviderSpecificFalse }
360
377
desired := []* endpoint.Endpoint {suite .bar127AWithProviderSpecificUnset }
You can’t perform that action at this time.
0 commit comments