@@ -66,15 +66,13 @@ func TestEndpointTypesPushNotifications(t *testing.T) {
6666 t .Fatalf ("[ERROR] Failed to create fault injector: %v" , err )
6767 }
6868
69-
7069 // Create client factory from configuration
7170 factory , err := CreateTestClientFactory ("standalone" )
7271 if err != nil {
7372 t .Skipf ("Enterprise cluster not available, skipping endpoint types test: %v" , err )
7473 }
7574 endpointConfig := factory .GetConfig ()
7675
77-
7876 defer func () {
7977 if dump {
8078 p ("Pool stats:" )
@@ -207,7 +205,7 @@ func TestEndpointTypesPushNotifications(t *testing.T) {
207205 if err != nil {
208206 ef ("[FI] Failover action failed for %s: %v" , endpointTest .name , err )
209207 }
210- p ("[FI] Failover action completed for %s: %+v " , endpointTest .name , status .Status )
208+ p ("[FI] Failover action completed for %s: %s %s " , endpointTest .name , status .Status , actionOutputIfFailed ( status ) )
211209
212210 // Test migration with this endpoint type
213211 p ("Testing migration with %s endpoint type..." , endpointTest .name )
@@ -229,7 +227,7 @@ func TestEndpointTypesPushNotifications(t *testing.T) {
229227 if err != nil {
230228 ef ("[FI] Migrate action failed for %s: %v" , endpointTest .name , err )
231229 }
232- p ("[FI] Migrate action completed for %s: %+v " , endpointTest .name , status .Status )
230+ p ("[FI] Migrate action completed for %s: %s %s " , endpointTest .name , status .Status , actionOutputIfFailed ( status ) )
233231
234232 // Wait for MIGRATING notification
235233 match , found = logCollector .MatchOrWaitForLogMatchFunc (func (s string ) bool {
@@ -323,7 +321,7 @@ func TestEndpointTypesPushNotifications(t *testing.T) {
323321 if err != nil {
324322 ef ("Bind action failed for %s: %v" , endpointTest .name , err )
325323 }
326- p ("Bind action completed for %s: %+v " , endpointTest .name , bindStatus .Status )
324+ p ("Bind action completed for %s: %s %s " , endpointTest .name , bindStatus .Status , actionOutputIfFailed ( bindStatus ) )
327325
328326 // Continue traffic for analysis
329327 time .Sleep (30 * time .Second )
0 commit comments