Skip to content

Commit

Permalink
Merge branch 'BCI-2835-integrate-multinode' into BCFR-302-multinode-toml
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanTinianov authored Sep 19, 2024
2 parents 0122a5f + 8aa39f6 commit 0e5a35e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/solana/chain_test.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package solana

import (
"context"
"errors"
"fmt"
"github.com/smartcontractkit/chainlink-common/pkg/utils/tests"
"io"
"net/http"
"net/http/httptest"
Expand Down Expand Up @@ -175,7 +175,7 @@ func TestSolanaChain_VerifiedClient(t *testing.T) {
testChain.id = "incorrect"
c, err = testChain.verifiedClient(node)
assert.NoError(t, err)
_, err = c.ChainID(context.Background())
_, err = c.ChainID(tests.Context(t))
// expect error from id mismatch (even if using a cached client) when performing RPC calls
assert.Error(t, err)
assert.Equal(t, fmt.Sprintf("client returned mismatched chain id (expected: %s, got: %s): %s", "incorrect", "devnet", node.URL), err.Error())
Expand Down

0 comments on commit 0e5a35e

Please sign in to comment.