From 5e45676875b411059fae0e8878dc639001869762 Mon Sep 17 00:00:00 2001 From: Sam Kleinman Date: Fri, 24 Sep 2021 14:27:00 -0400 Subject: [PATCH] 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. --- test/e2e/runner/evidence.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/e2e/runner/evidence.go b/test/e2e/runner/evidence.go index ab993a2fe..e6c7c3f7a 100644 --- a/test/e2e/runner/evidence.go +++ b/test/e2e/runner/evidence.go @@ -35,7 +35,7 @@ func InjectEvidence(ctx context.Context, testnet *e2e.Testnet, amount int) error for _, idx := range rand.Perm(len(testnet.Nodes)) { targetNode = testnet.Nodes[idx] - if targetNode.Mode == e2e.ModeSeed { + if targetNode.Mode == e2e.ModeSeed || targetNode.Mode == e2e.ModeLight { targetNode = nil continue }