@@ -282,7 +282,8 @@ var _ = Describe("ChangeProcessor", func() {
282
282
expectedConf := state.Configuration {}
283
283
expectedStatuses := state.Statuses {
284
284
GatewayStatus : & state.GatewayStatus {
285
- NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-1" },
285
+ NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-1" },
286
+ ObservedGeneration : gw1 .Generation ,
286
287
ListenerStatuses : map [string ]state.ListenerStatus {
287
288
"listener-80-1" : {
288
289
Valid : false ,
@@ -386,7 +387,8 @@ var _ = Describe("ChangeProcessor", func() {
386
387
ObservedGeneration : gc .Generation ,
387
388
},
388
389
GatewayStatus : & state.GatewayStatus {
389
- NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-1" },
390
+ NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-1" },
391
+ ObservedGeneration : gw1 .Generation ,
390
392
ListenerStatuses : map [string ]state.ListenerStatus {
391
393
"listener-80-1" : {
392
394
Valid : true ,
@@ -494,7 +496,8 @@ var _ = Describe("ChangeProcessor", func() {
494
496
ObservedGeneration : gc .Generation ,
495
497
},
496
498
GatewayStatus : & state.GatewayStatus {
497
- NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-1" },
499
+ NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-1" },
500
+ ObservedGeneration : gw1 .Generation ,
498
501
ListenerStatuses : map [string ]state.ListenerStatus {
499
502
"listener-80-1" : {
500
503
Valid : true ,
@@ -603,7 +606,8 @@ var _ = Describe("ChangeProcessor", func() {
603
606
ObservedGeneration : gc .Generation ,
604
607
},
605
608
GatewayStatus : & state.GatewayStatus {
606
- NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-1" },
609
+ NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-1" },
610
+ ObservedGeneration : gw1Updated .Generation ,
607
611
ListenerStatuses : map [string ]state.ListenerStatus {
608
612
"listener-80-1" : {
609
613
Valid : true ,
@@ -711,7 +715,8 @@ var _ = Describe("ChangeProcessor", func() {
711
715
ObservedGeneration : gcUpdated .Generation ,
712
716
},
713
717
GatewayStatus : & state.GatewayStatus {
714
- NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-1" },
718
+ NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-1" },
719
+ ObservedGeneration : gw1Updated .Generation ,
715
720
ListenerStatuses : map [string ]state.ListenerStatus {
716
721
"listener-80-1" : {
717
722
Valid : true ,
@@ -818,7 +823,8 @@ var _ = Describe("ChangeProcessor", func() {
818
823
ObservedGeneration : gcUpdated .Generation ,
819
824
},
820
825
GatewayStatus : & state.GatewayStatus {
821
- NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-1" },
826
+ NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-1" },
827
+ ObservedGeneration : gw1Updated .Generation ,
822
828
ListenerStatuses : map [string ]state.ListenerStatus {
823
829
"listener-80-1" : {
824
830
Valid : true ,
@@ -918,7 +924,8 @@ var _ = Describe("ChangeProcessor", func() {
918
924
ObservedGeneration : gcUpdated .Generation ,
919
925
},
920
926
GatewayStatus : & state.GatewayStatus {
921
- NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-1" },
927
+ NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-1" },
928
+ ObservedGeneration : gw1Updated .Generation ,
922
929
ListenerStatuses : map [string ]state.ListenerStatus {
923
930
"listener-80-1" : {
924
931
Valid : true ,
@@ -1038,7 +1045,8 @@ var _ = Describe("ChangeProcessor", func() {
1038
1045
ObservedGeneration : gcUpdated .Generation ,
1039
1046
},
1040
1047
GatewayStatus : & state.GatewayStatus {
1041
- NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-2" },
1048
+ NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-2" },
1049
+ ObservedGeneration : gw2 .Generation ,
1042
1050
ListenerStatuses : map [string ]state.ListenerStatus {
1043
1051
"listener-80-1" : {
1044
1052
Valid : true ,
@@ -1101,7 +1109,8 @@ var _ = Describe("ChangeProcessor", func() {
1101
1109
ObservedGeneration : gcUpdated .Generation ,
1102
1110
},
1103
1111
GatewayStatus : & state.GatewayStatus {
1104
- NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-2" },
1112
+ NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-2" },
1113
+ ObservedGeneration : gw2 .Generation ,
1105
1114
ListenerStatuses : map [string ]state.ListenerStatus {
1106
1115
"listener-80-1" : {
1107
1116
Valid : true ,
@@ -1133,7 +1142,8 @@ var _ = Describe("ChangeProcessor", func() {
1133
1142
expectedConf := state.Configuration {}
1134
1143
expectedStatuses := state.Statuses {
1135
1144
GatewayStatus : & state.GatewayStatus {
1136
- NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-2" },
1145
+ NsName : types.NamespacedName {Namespace : "test" , Name : "gateway-2" },
1146
+ ObservedGeneration : gw2 .Generation ,
1137
1147
ListenerStatuses : map [string ]state.ListenerStatus {
1138
1148
"listener-80-1" : {
1139
1149
Valid : false ,
0 commit comments