Zebra/zebra-test/src
teor a5d7b9c1e0
T2. add(test): add test API that checks process logs for failures (#3899)
* Revert "Revert Option<Child> process handling"

This reverts commit 2af30086858d104dcb0ec87383996c36bcaa7371.

* Add a set of failure regexes to test command output

* Allow debug-printing TestChild again

* When the child is dropped, check any remaining output

* Document a wait_with_output edge case

* Improve failure regex panic output

* Improve builder ergonomics

* Add internal tests for failure regex panics

It would be easy to disable these panics, and never realise.

* Add some module structure TODOs

* Stop panicking if the child process has already been taken

* Add test APIs for consuming child output lines

* Fix a hang on child process drop

* Handle output being already taken in wait_with_output

And document some edge cases we don't handle yet

* Use bash's read command in the TestChild stderr test

And check the actual command we're using to see if it errors.

* Pretty print full failure regex list

* Add the test child command line to the failure regex logs
2022-03-22 23:53:24 +00:00
..
command T1. add(test): add test API that checks logs for multiple regexes (#3892) 2022-03-22 15:58:27 +00:00
vectors Checking of Sprout anchors in non-finalized state (#3123) 2021-12-09 16:50:26 +00:00
command.rs T2. add(test): add test API that checks process logs for failures (#3899) 2022-03-22 23:53:24 +00:00
lib.rs 7. test(database): snapshot raw RocksDB column family data (#3630) 2022-03-02 02:44:39 +00:00
mock_service.rs Ignore unexpected block responses to fix error cascade when synchronizing blocks (#3374) 2022-01-20 08:14:16 +00:00
net.rs T0. refactor(test): split zebrad acceptance tests into sub-modules (#3901) 2022-03-18 16:02:22 +00:00
network_addr.rs Parse received addrv2 messages (#3022) 2021-11-12 00:25:23 +00:00
prelude.rs Check MAX_BLOCK_SIGOPS in the block verifier (#3049) 2021-11-15 20:55:32 +00:00
service_extensions.rs Consolidate standard lints into a cargo config file (#3386) 2022-01-24 16:25:06 +00:00
transcript.rs 5. change(state): split ReadStateService requests into a ReadRequest enum (#3866) 2022-03-17 22:59:46 +00:00
vectors.rs Async Halo2 verifier service (#2645) 2021-11-17 13:26:15 +10:00
zip0143.rs Always compute sighash with librustzcash (#2469) 2021-07-09 09:55:08 +10:00
zip0243.rs Fix bug in sighash for coinbase transactions (#2459) 2021-07-08 16:05:40 -03:00
zip0244.rs Update shared NU5 dependencies, set the NU5 testnet activation network upgrade parameters (#2825) 2021-10-06 11:08:41 +10:00