From a01991614e1e7fe3d6c5fba2f7251d34719a0d97 Mon Sep 17 00:00:00 2001 From: Jordan Krage Date: Tue, 19 Mar 2024 08:32:06 -0500 Subject: [PATCH] remove skipped TestUniClient --- .../uni_client_integration_test.go | 42 ------------------- 1 file changed, 42 deletions(-) delete mode 100644 core/services/synchronization/uni_client_integration_test.go diff --git a/core/services/synchronization/uni_client_integration_test.go b/core/services/synchronization/uni_client_integration_test.go deleted file mode 100644 index fcc0dc23717..00000000000 --- a/core/services/synchronization/uni_client_integration_test.go +++ /dev/null @@ -1,42 +0,0 @@ -package synchronization - -import ( - "context" - "encoding/hex" - "testing" - "time" - - "github.com/stretchr/testify/require" - - "github.com/smartcontractkit/wsrpc" - - "github.com/smartcontractkit/chainlink/v2/core/internal/testutils" - "github.com/smartcontractkit/chainlink/v2/core/logger" - "github.com/smartcontractkit/chainlink/v2/core/services/synchronization/telem" -) - -func TestUniClient(t *testing.T) { - t.Skip("Incomplete", "https://smartcontract-it.atlassian.net/browse/BCF-2729") - privKey, err := hex.DecodeString("TODO") - require.NoError(t, err) - pubKey, err := hex.DecodeString("TODO") - require.NoError(t, err) - t.Log(len(privKey), len(pubKey)) - lggr := logger.TestLogger(t) - c, err := wsrpc.DialUniWithContext(testutils.Context(t), - lggr, - "TODO", - privKey, - pubKey) - require.NoError(t, err) - t.Log(c) - client := telem.NewTelemClient(c) - ctx, cancel := context.WithTimeout(testutils.Context(t), 500*time.Millisecond) - resp, err := client.Telem(ctx, &telem.TelemRequest{ - Telemetry: []byte(`hello world`), - Address: "myaddress", - }) - cancel() - t.Log(resp, err) - require.NoError(t, c.Close()) -}