From 3f4ca3f1a6f6f34b0cb7999deb112b0609f796cb Mon Sep 17 00:00:00 2001 From: Alfonso Acosta Date: Thu, 13 Jun 2024 19:55:16 +0200 Subject: [PATCH] Traceback ancestors in goroutine dumps --- .github/workflows/soroban-rpc.yml | 2 +- cmd/soroban-rpc/internal/daemon/daemon.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/soroban-rpc.yml b/.github/workflows/soroban-rpc.yml index fabc9835..2a5c7e54 100644 --- a/.github/workflows/soroban-rpc.yml +++ b/.github/workflows/soroban-rpc.yml @@ -194,4 +194,4 @@ jobs: - name: Run Soroban RPC Integration Tests run: | make install_rust - go test -race -timeout 60m -v ./cmd/soroban-rpc/internal/test/... + GODEBUG="tracebackancestors=2" go test -race -timeout 60m -v ./cmd/soroban-rpc/internal/test/... diff --git a/cmd/soroban-rpc/internal/daemon/daemon.go b/cmd/soroban-rpc/internal/daemon/daemon.go index fe0cece5..39685927 100644 --- a/cmd/soroban-rpc/internal/daemon/daemon.go +++ b/cmd/soroban-rpc/internal/daemon/daemon.go @@ -40,7 +40,6 @@ const ( defaultReadTimeout = 5 * time.Second defaultShutdownGracePeriod = 10 * time.Second inMemoryInitializationLedgerLogPeriod = 1_000_000 - transactionsTableMigrationDoneMetaKey = "TransactionsTableMigrationDone" ) type Daemon struct {