Skip to content

[Bug] Flakey CI: network_dependency integration test fails intermittently #29099

@mitchmindtree

Description

@mitchmindtree

Description

The network_dependency CLI integration test fails intermittently. E.g. it may fail on the Linux runner while passing on the macOS and Windows runners.

Failure Details

The test deploys programs to a local testnet and waits up to 12 blocks for transaction confirmation. Sometimes, the transactions aren't confirmed within this window:

❌ Failed to deploy program `test_program1.aleo`: could not find the transaction on the network.

Expected output shows:

Transaction accepted.
✅ Deployment confirmed!

Example failure

Potential Solution

Ideally we'd replace these with non-network dependent tests, as network behaviour likely should not be the domain of the leo compiler.

Failing that, we should work out how we can explicitly wait for the deployment, or fail early on some failure to deploy error.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working🤖 CIAnything related to CI bugs or enhancements🧪 TestingAnything related to testing the compiler and its tooling.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions