Skip to content

Commit 4368268

Browse files
author
Tim Middleton
committed
Final updates
1 parent 01584f0 commit 4368268

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

coherence/session.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -678,7 +678,6 @@ func waitForReady(s *Session) error {
678678
if state == connectivity.Ready {
679679
return nil
680680
}
681-
logMessage(DEBUG, "state=%v", state)
682681

683682
if !messageLogged {
684683
logMessage(INFO, "Session [%s] State is %v, waiting until ready timeout of %v for valid connection",

test/e2e/kind/main.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,9 +127,8 @@ func schoolsHandler(w http.ResponseWriter, r *http.Request) {
127127

128128
var people = make([]School, 0)
129129

130-
log.Println("Health check via size()")
131-
_, err := schoolsCache.Size(ctx)
132-
if err != nil {
130+
ready, err := schoolsCache.IsReady(ctx)
131+
if err != nil || !ready {
133132
session.Close()
134133
log.Printf("failed to do health check: %v", err)
135134
http.Error(w, err.Error(), http.StatusInternalServerError)

0 commit comments

Comments
 (0)