Skip to content

ability to advance time in a test #179

Open
@turadg

Description

@turadg

Problem to be solved

Upgrade16 had some auction timing bugs with timing that could have been detected in an A3P test if the test could time travel forward.

Unit tests in agoric-sdk have this ability through the ManualTimer service replacing the real one in bootstrap, but A3P tests are too high fidelity for that.

We need some other way to advance time.

Design

The test tooling could provide a way to advance the Linux system time.

Some other designs may need changes in agoric-sdk. This ticket tracks having the ability in the @agoric/synthetic-chain support package.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions