Browse Source

e2e: do not inject evidence through light proxy (#6992)

In the last run, there were two problems at the RPC layer returned
from light nodes' RPC end points. I think exercising the light client
proxy RPC system is something that can/should be done via unit
testing, and that likely these errors are (in production) transient
and (in CI) very likely to fail for test environment issues.
pull/6997/head
Sam Kleinman 3 years ago
committed by GitHub
parent
commit
5e45676875
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/e2e/runner/evidence.go

+ 1
- 1
test/e2e/runner/evidence.go View File

@ -35,7 +35,7 @@ func InjectEvidence(ctx context.Context, testnet *e2e.Testnet, amount int) error
for _, idx := range rand.Perm(len(testnet.Nodes)) { for _, idx := range rand.Perm(len(testnet.Nodes)) {
targetNode = testnet.Nodes[idx] targetNode = testnet.Nodes[idx]
if targetNode.Mode == e2e.ModeSeed {
if targetNode.Mode == e2e.ModeSeed || targetNode.Mode == e2e.ModeLight {
targetNode = nil targetNode = nil
continue continue
} }


Loading…
Cancel
Save