You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[FR] - cardano-testnet: improve command line output format #5848
We'd like to make running the test suite optional, configurable via a CLI option. We really need faster startup times.
Actually, there are no tests executed when you're starting cardano-testnet using the cardano-testnet executable. It may appear so, because we're leveraging hedgehog's PropertyT when setting up the testnet nodes. So we're kind of abusing it to print debugging information by failing the test suite. All it does is starting the nodes and doing the healthcheck, so I think you won't get more speedup than it is right now (speaking about version in master).
We'd like to see more structured output (e.g. JSON) so that we can parse the TMP dir to get the node socket path, etc.
Definitely, if you feel that you can make the output both human readable and machine readable (by some toggle?) we'd be up for it.
If we implement these changes in a PR, would it be considered for acceptance?
Sure, if it won't be disruptive too much. It would be preferable if you could submit your changes in few smaller PRs.
Activity
smelc commentedon May 21, 2024
cc @Jimbo4350 @carbolymer
carbolymer commentedon May 22, 2024
Actually, there are no tests executed when you're starting
cardano-testnetusing thecardano-testnetexecutable. It may appear so, because we're leveraginghedgehog'sPropertyTwhen setting up the testnet nodes. So we're kind of abusing it to print debugging information by failing the test suite. All it does is starting the nodes and doing the healthcheck, so I think you won't get more speedup than it is right now (speaking about version inmaster).Definitely, if you feel that you can make the output both human readable and machine readable (by some toggle?) we'd be up for it.
Sure, if it won't be disruptive too much. It would be preferable if you could submit your changes in few smaller PRs.
klntsky commentedon May 22, 2024
@carbolymer Thank you!
I have one more question: would it be possible for it to start instantly in the latest era, skipping the initial era transitions?
carbolymer commentedon May 24, 2024
That's supported already. In some of the test cases we're starting in Conway already, for example in here:
cardano-node/cardano-testnet/test/cardano-testnet-test/Cardano/Testnet/Test/Gov/ProposeNewConstitution.hs
Line 74 in 3d5df51
github-actions commentedon Jun 24, 2024
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.
github-actions commentedon Feb 9, 2025
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.
[-][FR] - cardano-testnet: DevX improvements[/-][+][FR] - cardano-testnet: improve command line output format[/+]smelc commentedon Feb 11, 2025
Related: #6080
github-actions commentedon Mar 16, 2025
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.
11 remaining items
github-actions commentedon Jan 12, 2026
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.
github-actions commentedon Mar 9, 2026
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.
github-actions commentedon Apr 13, 2026
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.
github-actions commentedon May 24, 2026
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.
github-actions commentedon Oct 13, 2026
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 120 days.