Commit 6d433639 authored by protolambda's avatar protolambda

op-e2e: faster http poll interval for less flaky test

parent d8764ed4
...@@ -418,7 +418,7 @@ func (cfg SystemConfig) Start(_opts ...SystemConfigOption) (*System, error) { ...@@ -418,7 +418,7 @@ func (cfg SystemConfig) Start(_opts ...SystemConfigOption) (*System, error) {
L1RPCKind: sources.RPCKindBasic, L1RPCKind: sources.RPCKindBasic,
RateLimit: 0, RateLimit: 0,
BatchSize: 20, BatchSize: 20,
HttpPollInterval: time.Duration(cfg.DeployConfig.L1BlockTime) * time.Second, HttpPollInterval: time.Duration(cfg.DeployConfig.L1BlockTime) * time.Second / 10,
} }
rollupCfg.L2 = &rollupNode.L2EndpointConfig{ rollupCfg.L2 = &rollupNode.L2EndpointConfig{
L2EngineAddr: l2EndpointConfig, L2EngineAddr: l2EndpointConfig,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment