@@ -66,15 +66,13 @@ func TestEndpointTypesPushNotifications(t *testing.T) {
66
66
t .Fatalf ("[ERROR] Failed to create fault injector: %v" , err )
67
67
}
68
68
69
-
70
69
// Create client factory from configuration
71
70
factory , err := CreateTestClientFactory ("standalone" )
72
71
if err != nil {
73
72
t .Skipf ("Enterprise cluster not available, skipping endpoint types test: %v" , err )
74
73
}
75
74
endpointConfig := factory .GetConfig ()
76
75
77
-
78
76
defer func () {
79
77
if dump {
80
78
p ("Pool stats:" )
@@ -207,7 +205,7 @@ func TestEndpointTypesPushNotifications(t *testing.T) {
207
205
if err != nil {
208
206
ef ("[FI] Failover action failed for %s: %v" , endpointTest .name , err )
209
207
}
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 ) )
211
209
212
210
// Test migration with this endpoint type
213
211
p ("Testing migration with %s endpoint type..." , endpointTest .name )
@@ -229,7 +227,7 @@ func TestEndpointTypesPushNotifications(t *testing.T) {
229
227
if err != nil {
230
228
ef ("[FI] Migrate action failed for %s: %v" , endpointTest .name , err )
231
229
}
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 ) )
233
231
234
232
// Wait for MIGRATING notification
235
233
match , found = logCollector .MatchOrWaitForLogMatchFunc (func (s string ) bool {
@@ -323,7 +321,7 @@ func TestEndpointTypesPushNotifications(t *testing.T) {
323
321
if err != nil {
324
322
ef ("Bind action failed for %s: %v" , endpointTest .name , err )
325
323
}
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 ) )
327
325
328
326
// Continue traffic for analysis
329
327
time .Sleep (30 * time .Second )
0 commit comments