Closed lesterli closed 4 months ago
this will fix flaky test like this:
Error Trace: /Users/zidong/Documents/Projects/babylon-finality-provider/itest/opstackl2/op_e2e_test.go:173
Error: Received unexpected error:
unexpected end of JSON input
Test: TestOpMultipleFinalityProviders
op_test_manager.go:529: Stopping test manager
--- FAIL: TestOpMultipleFinalityProviders (99.28s)
Summary
This PR fixes the unmarshal JSON error from the op e2e test case, it is caused by the null response of the RPC call occasionally, so we added a retry mechanism for the RPC call to fix it.
Test Plan