-
Notifications
You must be signed in to change notification settings - Fork 705
Open
Labels
bugSomething isn't workingSomething isn't working🤖 CIAnything related to CI bugs or enhancementsAnything related to CI bugs or enhancements🧪 TestingAnything related to testing the compiler and its tooling.Anything related to testing the compiler and its tooling.
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working🤖 CIAnything related to CI bugs or enhancementsAnything related to CI bugs or enhancements🧪 TestingAnything related to testing the compiler and its tooling.Anything related to testing the compiler and its tooling.