@@ -193,6 +193,28 @@ def test_01_ordinal_updates(self):
193
193
self .assertEqual (2 * (data_conn_count + 1 ),
194
194
len ([c for c in irc if c ['groupOrdinal' ] == 3 ]),
195
195
f"Unexpected conns: { irc } " )
196
+
197
+ # We are going to update the ordinal on the ConnectorSslProfile one more time which then leads
198
+ # to a bunch of additional inter-router connections.
199
+ router_C .management .update (type = SSL_PROFILE_TYPE ,
200
+ attributes = {'ordinal' : 4 },
201
+ name = 'ConnectorSslProfile' )
202
+ self .wait_inter_router_conns (router_C , 2 * (data_conn_count + 1 ))
203
+ self .wait_inter_router_conns (router_L , 2 * (data_conn_count + 1 ))
204
+
205
+
206
+ router_L .management .update (type = SSL_PROFILE_TYPE ,
207
+ attributes = {'ordinal' : 4 },
208
+ name = 'ListenerSslProfile' )
209
+
210
+ # Update oldestValidOrdinal to 4 on the listener
211
+ # so many of the inter-router connections will get torn down using the expired_ordinal_connection_scrubber().
212
+ router_L .management .update (type = SSL_PROFILE_TYPE ,
213
+ attributes = {'oldestValidOrdinal' : 4 },
214
+ name = 'ListenerSslProfile' )
215
+ self .wait_inter_router_conns (router_L , data_conn_count + 1 )
216
+ self .wait_inter_router_conns (router_C , data_conn_count + 1 )
217
+
196
218
router_L .teardown ()
197
219
198
220
# Router L has now been torn down, check to see if the RouterC's OPER_STATUS on the LINK record is "down"
0 commit comments