Add a test case that creates and starts two nodes, has one assume the
primary role and the other the secondary role, writes to the device,
verifies that the data is synced to both nodes, then switches the roles,
and finally shuts both nodes down and compares their backing stores.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG FreeBSD src repository
- Lint
Lint Skipped - Unit
Tests Skipped - Build Status
Buildable 76897 Build 73780: arc lint + arc unit
Event Timeline
| sbin/hastd/tests/hastd_test.sh | ||
|---|---|---|
| 143–146 | Then we don't test that hastctl is capable of stopping hastd. | |
| sbin/hastd/tests/hastd_test.sh | ||
|---|---|---|
| 12 | BTW: I'd give a ship-it for this change right now -- thank you :)! | |
| 143–146 | Removing the files with rm -f (and without atf_check) masks issues if the files are missing. That seems less than ideal for the tests if your goal was to confirm that the services are no longer running if the pidfiles are gone. | |