Skip to content

Commit

Permalink
bump deps
Browse files Browse the repository at this point in the history
  • Loading branch information
skudasov committed Aug 8, 2024
1 parent 4fcd92d commit b29b32a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions integration-tests/client/chainlink.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,12 @@ func initRestyClient(url string, email string, password string, headers map[stri
if timeout != nil {
rc.SetTimeout(*timeout)
}
log.Warn().Bool("Debug", rc.Debug).Msg("here")
session := &Session{Email: email, Password: password}
// Retry the connection on boot up, sometimes pods can still be starting up and not ready to accept connections
var resp *resty.Response
var err error
retryCount := 20
for i := 0; i < retryCount; i++ {
log.Warn().Bool("Debug", rc.Debug).Msg("here")
resp, err = rc.R().SetBody(session).Post("/sessions")
if err != nil {
log.Warn().Err(err).Str("URL", url).Interface("Session Details", session).Msg("Error connecting to Chainlink node, retrying")
Expand Down
2 changes: 1 addition & 1 deletion integration-tests/crib/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ devspace deploy --debug --profile local-dev-simulated-core-ocr1
export CRIB_NAMESPACE=crib-oh-my-crib
export CRIB_NETWORK=geth # only "geth" is supported for now
export CRIB_NODES=5 # min 5 nodes
#export SETH_LOG_LEVEL=info # these two can be enabled to debug connection issues
#export SETH_LOG_LEVEL=debug # these two can be enabled to debug connection issues
#export RESTY_DEBUG=true
export GAP_URL=https://localhost:8080/primary # only applicable in CI
go test -v -run TestCRIB
Expand Down

0 comments on commit b29b32a

Please sign in to comment.