From d922aff0ba59de9d7a869cdd20bcdbf68a7c51b1 Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Thu, 13 Jun 2024 14:11:52 +0200 Subject: [PATCH] Debug why RPC keeps unhealthy in CI --- cmd/soroban-rpc/internal/test/integration.go | 2 +- cmd/soroban-rpc/internal/test/migrate_test.go | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/soroban-rpc/internal/test/integration.go b/cmd/soroban-rpc/internal/test/integration.go index e24d8539..d63d1b3c 100644 --- a/cmd/soroban-rpc/internal/test/integration.go +++ b/cmd/soroban-rpc/internal/test/integration.go @@ -249,7 +249,7 @@ func (i *Test) waitForRPC() { break } } - i.t.Log("RPC still unhealthy") + i.t.Log("RPC still unhealthy", err, result.Status) time.Sleep(time.Second) } if !success { diff --git a/cmd/soroban-rpc/internal/test/migrate_test.go b/cmd/soroban-rpc/internal/test/migrate_test.go index d7d565cf..eded0e61 100644 --- a/cmd/soroban-rpc/internal/test/migrate_test.go +++ b/cmd/soroban-rpc/internal/test/migrate_test.go @@ -25,6 +25,7 @@ import ( // We cannot test prior protocol versions since the Transaction XDR used for the test could be incompatible // TODO: find a way to test migrations between protocols func TestMigrate(t *testing.T) { + t.Skip("see if it works when we skip this test") if GetCoreMaxSupportedProtocol() != MaxSupportedProtocolVersion { t.Skip("Only test this for the latest protocol: ", MaxSupportedProtocolVersion) }