Skip to content

Commit

Permalink
Extend grace period of Soroban RPC
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Jun 13, 2024
1 parent d922aff commit b870fd4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/soroban-rpc/internal/test/integration.go
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ func (i *Test) waitForRPC() {

var result methods.HealthCheckResult
success := false
for t := 30; t >= 0; t-- {
for t := 60; t >= 0; t-- {
err := client.CallResult(context.Background(), "getHealth", nil, &result)
if err == nil {
if result.Status == "healthy" {
Expand All @@ -253,7 +253,7 @@ func (i *Test) waitForRPC() {
time.Sleep(time.Second)
}
if !success {
i.t.Fatal("RPC failed to get healthy in 30 seconds")
i.t.Fatal("RPC failed to get healthy in 1 minute")
}
}

Expand Down

0 comments on commit b870fd4

Please sign in to comment.