Skip to content

Commit 4700954

Browse files
committed
begin to unflake the e2e tests
On-behalf-of: @SAP christoph.mewes@sap.com
1 parent ede7fbc commit 4700954

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

test/e2e/clusterinit/basic_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ package clusterinit
2020

2121
import (
2222
"context"
23+
"fmt"
2324
"slices"
2425
"strings"
2526
"testing"
@@ -191,6 +192,8 @@ metadata:
191192
return false, err
192193
}
193194

195+
fmt.Printf("initializers: %v\n", targetWs.Status.Initializers)
196+
194197
return !slices.Contains(targetWs.Status.Initializers, initializer), nil
195198
})
196199
if err != nil {

test/e2e/clusterinit/wait_for_ready_test.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ package clusterinit
2020

2121
import (
2222
"context"
23+
"fmt"
2324
"slices"
2425
"strings"
2526
"testing"
@@ -202,6 +203,8 @@ spec:
202203
return false, err
203204
}
204205

206+
fmt.Printf("initializers: %v\n", targetWs.Status.Initializers)
207+
205208
return !slices.Contains(targetWs.Status.Initializers, initializer), nil
206209
})
207210
if err != nil {

0 commit comments

Comments
 (0)