Skip to content

Commit ac17c37

Browse files
committed
chore: removed unnessesdary test
1 parent 5106f55 commit ac17c37

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

test/e2e/evm_spamoor_smoke_test.go

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -145,17 +145,6 @@ func TestSpamoorSmoke(t *testing.T) {
145145
sent := sumCounter(metrics["spamoor_transactions_sent_total"])
146146
fail := sumCounter(metrics["spamoor_transactions_failed_total"])
147147

148-
// Probe ev-reth via JSON-RPC as proxy metrics: head height should advance; peer count should be >= 0.
149-
h1, err := ethCli.BlockNumber(ctx)
150-
require.NoError(t, err, "failed to query initial block number")
151-
time.Sleep(5 * time.Second)
152-
h2, err := ethCli.BlockNumber(ctx)
153-
require.NoError(t, err, "failed to query subsequent block number")
154-
var peerCountHex string
155-
require.NoError(t, rpcCli.CallContext(ctx, &peerCountHex, "net_peerCount"))
156-
t.Logf("reth head: %d -> %d, net_peerCount=%s", h1, h2, strings.TrimSpace(peerCountHex))
157-
require.Greater(t, h2, h1, "reth head should have advanced")
158-
159148
// Verify Jaeger received traces from ev-node.
160149
// Service name is set above via --evnode.instrumentation.tracing_service_name "ev-node-smoke".
161150
traceCtx, cancel := context.WithTimeout(ctx, 3*time.Minute)
@@ -210,6 +199,7 @@ func TestSpamoorSmoke(t *testing.T) {
210199

211200
// ev-reth span names are internal to the Rust OTLP exporter and may change
212201
// across versions, so we only assert that spans were collected at all.
202+
// TODO: check for more specific spans once implemented.
213203
require.NotEmpty(t, evRethSpans, "expected at least one span from ev-reth")
214204

215205
require.Greater(t, sent, float64(0), "at least one transaction should have been sent")

0 commit comments

Comments
 (0)