Skip to content

Commit

Permalink
fix functional test
Browse files Browse the repository at this point in the history
  • Loading branch information
sapinb committed Nov 5, 2024
1 parent 2867c19 commit 31b95e5
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions functional-tests/fn_cl_checkpoint.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,17 +28,15 @@ def main(self, ctx: flexitest.RunContext):
error_with="Sequencer did not start on time",
)

time.sleep(1)
ckp_idx = seqrpc.strata_getLatestCheckpointIndex()
assert ckp_idx is not None

ckp = seqrpc.strata_getCheckpointInfo(ckp_idx)
assert ckp is not None
assert ckp["commitment"] is None

# wait for checkpoint confirmation
wait_until(
lambda: seqrpc.strata_getLatestCheckpointIndex() > ckp_idx,
lambda: seqrpc.strata_getLatestCheckpointIndex(True) >= ckp_idx,
error_with="Checkpoint was not confirmed on time",
timeout=10,
)
Expand Down

0 comments on commit 31b95e5

Please sign in to comment.