@@ -703,17 +703,6 @@ var _ = Describe("ChangeProcessor", func() {
703
703
Expect (helpers .Diff (expGraph , graphCfg )).To (BeEmpty ())
704
704
})
705
705
})
706
- When ("the first HTTPRoute without a generation changed is processed" , func () {
707
- It ("returns nil graph" , func () {
708
- hr1UpdatedSameGen := hr1 .DeepCopy ()
709
- // hr1UpdatedSameGen.Generation has not been changed
710
- processor .CaptureUpsertChange (hr1UpdatedSameGen )
711
-
712
- changed , graphCfg := processor .Process ()
713
- Expect (changed ).To (BeFalse ())
714
- Expect (graphCfg ).To (BeNil ())
715
- })
716
- })
717
706
When ("the first HTTPRoute update with a generation changed is processed" , func () {
718
707
It ("returns populated graph" , func () {
719
708
processor .CaptureUpsertChange (hr1Updated )
@@ -733,17 +722,6 @@ var _ = Describe("ChangeProcessor", func() {
733
722
},
734
723
)
735
724
})
736
- When ("the first Gateway update without generation changed is processed" , func () {
737
- It ("returns nil graph" , func () {
738
- gwUpdatedSameGen := gw1 .DeepCopy ()
739
- // gwUpdatedSameGen.Generation has not been changed
740
- processor .CaptureUpsertChange (gwUpdatedSameGen )
741
-
742
- changed , graphCfg := processor .Process ()
743
- Expect (changed ).To (BeFalse ())
744
- Expect (graphCfg ).To (BeNil ())
745
- })
746
- })
747
725
When ("the first Gateway update with a generation changed is processed" , func () {
748
726
It ("returns populated graph" , func () {
749
727
processor .CaptureUpsertChange (gw1Updated )
@@ -758,17 +736,6 @@ var _ = Describe("ChangeProcessor", func() {
758
736
Expect (helpers .Diff (expGraph , graphCfg )).To (BeEmpty ())
759
737
})
760
738
})
761
- When ("the GatewayClass update without generation change is processed" , func () {
762
- It ("returns nil graph" , func () {
763
- gcUpdatedSameGen := gc .DeepCopy ()
764
- // gcUpdatedSameGen.Generation has not been changed
765
- processor .CaptureUpsertChange (gcUpdatedSameGen )
766
-
767
- changed , graphCfg := processor .Process ()
768
- Expect (changed ).To (BeFalse ())
769
- Expect (graphCfg ).To (BeNil ())
770
- })
771
- })
772
739
When ("the GatewayClass update with generation change is processed" , func () {
773
740
It ("returns populated graph" , func () {
774
741
processor .CaptureUpsertChange (gcUpdated )
@@ -1590,15 +1557,6 @@ var _ = Describe("ChangeProcessor", func() {
1590
1557
changed , _ := processor .Process ()
1591
1558
Expect (changed ).To (BeTrue ())
1592
1559
})
1593
- It ("should report not changed after multiple Upserts of the resource with same generation" , func () {
1594
- processor .CaptureUpsertChange (gc )
1595
- processor .CaptureUpsertChange (gw1 )
1596
- processor .CaptureUpsertChange (hr1 )
1597
- processor .CaptureUpsertChange (rg1 )
1598
-
1599
- changed , _ := processor .Process ()
1600
- Expect (changed ).To (BeFalse ())
1601
- })
1602
1560
When ("a upsert of updated resources is followed by an upsert of the same generation" , func () {
1603
1561
It ("should report changed" , func () {
1604
1562
// these are changing changes
@@ -1737,14 +1695,7 @@ var _ = Describe("ChangeProcessor", func() {
1737
1695
Expect (changed ).To (BeTrue ())
1738
1696
})
1739
1697
1740
- It ("should report not changed after multiple Upserts of unrelated and unchanged resources" , func () {
1741
- // unchanged Gateway API resources
1742
- fakeRelationshipCapturer .ExistsReturns (false )
1743
- processor .CaptureUpsertChange (gc )
1744
- processor .CaptureUpsertChange (gw1 )
1745
- processor .CaptureUpsertChange (hr1 )
1746
- processor .CaptureUpsertChange (rg1 )
1747
-
1698
+ It ("should report not changed after multiple Upserts of unrelated resources" , func () {
1748
1699
// unrelated Kubernetes API resources
1749
1700
fakeRelationshipCapturer .ExistsReturns (false )
1750
1701
processor .CaptureUpsertChange (svc )
0 commit comments