dappnode / DNP_IPFS

Dappnode package responsible for providing IPFS connectivity
GNU General Public License v3.0
4 stars 9 forks source link

Improve test migrations #49

Open pablomendezroyo opened 2 years ago

pablomendezroyo commented 2 years ago

The test migrations print out logs to check that the migration of the file system (ipfs volumes) was successful.

If this migration was not succesfull the test will pass anyway. The only way to check this test has passed is to manually check the logs like: https://github.com/dappnode/DNP_IPFS/runs/3193878924?check_suite_focus=true#step:3:546

Todo

In the test script check the exit status of the container to assing the state of the gha test: https://github.com/dappnode/DNP_IPFS/blob/d8f41d4560492bafb7c1c34c1d23a7ff76835d40/test/test-migrations/fs-repo-migration.sh#L37