Timestamp syscall tests occasionally fail #687
Labels
bug
Something isn't working
Hard
Task is hard to fix
help wanted
Extra attention is needed
OnlyDust
testing
Related to code testing
Description
Timestamp tests occasionally fail.
Tests known to fail (not sure if there's more):
test_advancing_time::timestamp_syscall_set_in_future
test_advancing_time::timestamp_syscall_contract_constructor
Basically, waiting/sleeping for 1 second doesn't increment the time used by syscalls in Starknet contracts; the time stays the same.
Only fails on CI, ran a loop of several hundreds iterations, couldn't make it fail locally.
Mitigation attempts
Restarting the workflow helps.
Tried extending to sleeping for 1.1 s: #681
Tried extending to sleeping for 1.5 s: 8f74b33
Perhaps we can extend to 2 s?
The text was updated successfully, but these errors were encountered: