@@ -192,50 +192,6 @@ func ТestTLSConfigurationsPushNotifications(t *testing.T) {
192192 commandsRunner .FireCommandsUntilStop (ctx )
193193 }()
194194
195- // Test failover with this TLS configuration
196- p ("Testing failover with %s TLS configuration..." , tlsTest .name )
197- failoverResp , err := faultInjector .TriggerAction (ctx , ActionRequest {
198- Type : "failover" ,
199- Parameters : map [string ]interface {}{
200- "bdb_id" : endpointConfig .BdbID ,
201- },
202- })
203- if err != nil {
204- ef ("Failed to trigger failover action for %s: %v" , tlsTest .name , err )
205- }
206-
207- // Wait for FAILING_OVER notification
208- match , found := logCollector .MatchOrWaitForLogMatchFunc (func (s string ) bool {
209- return strings .Contains (s , logs2 .ProcessingNotificationMessage ) && notificationType (s , "FAILING_OVER" )
210- }, 3 * time .Minute )
211- if ! found {
212- ef ("FAILING_OVER notification was not received for %s TLS config" , tlsTest .name )
213- }
214- failingOverData := logs2 .ExtractDataFromLogMessage (match )
215- p ("FAILING_OVER notification received for %s. %v" , tlsTest .name , failingOverData )
216-
217- // Wait for FAILED_OVER notification
218- seqIDToObserve := int64 (failingOverData ["seqID" ].(float64 ))
219- connIDToObserve := uint64 (failingOverData ["connID" ].(float64 ))
220- match , found = logCollector .MatchOrWaitForLogMatchFunc (func (s string ) bool {
221- return notificationType (s , "FAILED_OVER" ) && connID (s , connIDToObserve ) && seqID (s , seqIDToObserve + 1 )
222- }, 3 * time .Minute )
223- if ! found {
224- ef ("FAILED_OVER notification was not received for %s TLS config" , tlsTest .name )
225- }
226- failedOverData := logs2 .ExtractDataFromLogMessage (match )
227- p ("FAILED_OVER notification received for %s. %v" , tlsTest .name , failedOverData )
228-
229- // Wait for failover to complete
230- status , err := faultInjector .WaitForAction (ctx , failoverResp .ActionID ,
231- WithMaxWaitTime (240 * time .Second ),
232- WithPollInterval (2 * time .Second ),
233- )
234- if err != nil {
235- ef ("[FI] Failover action failed for %s: %v" , tlsTest .name , err )
236- }
237- p ("[FI] Failover action completed for %s: %s" , tlsTest .name , status .Status )
238-
239195 // Test migration with this TLS configuration
240196 p ("Testing migration with %s TLS configuration..." , tlsTest .name )
241197 migrateResp , err := faultInjector .TriggerAction (ctx , ActionRequest {
@@ -251,7 +207,7 @@ func ТestTLSConfigurationsPushNotifications(t *testing.T) {
251207 // Wait for MIGRATING notification
252208 match , found = logCollector .WaitForLogMatchFunc (func (s string ) bool {
253209 return strings .Contains (s , logs2 .ProcessingNotificationMessage ) && strings .Contains (s , "MIGRATING" )
254- }, 30 * time .Second )
210+ }, 60 * time .Second )
255211 if ! found {
256212 ef ("MIGRATING notification was not received for %s TLS config" , tlsTest .name )
257213 }
0 commit comments