Contact Details
whayutin@redhat.com
Describe bug
Looking at the tests/e2e code:
https://github.com/openshift/oadp-operator/blob/master/tests/e2e/backup_restore_suite_test.go#L136-L154
Once can see that the tests are not taking the raw db data prior to the backup and testing that the restore infact restored the data in the db. The test is only confirming that the application comes back up in a working state.
To fix this:
- Just before the backup is executed, dump the database table to file, take a md5sum check of the file
- backup, delete, restore app
- After the app is restored, again dump the database table to file, compare the restored md5sum to the md5sum prior to the backup.
- The two md5sum entries should match.
What happened?
There is no raw data tests being executed
OADP Version
1.0.1 (Stable)
OpenShift Version
4.10
Velero pod logs
No response
Restic pod logs
No response
Operator pod logs
No response
New issue
Contact Details
whayutin@redhat.com
Describe bug
Looking at the tests/e2e code:
https://github.com/openshift/oadp-operator/blob/master/tests/e2e/backup_restore_suite_test.go#L136-L154
Once can see that the tests are not taking the raw db data prior to the backup and testing that the restore infact restored the data in the db. The test is only confirming that the application comes back up in a working state.
To fix this:
What happened?
There is no raw data tests being executed
OADP Version
1.0.1 (Stable)
OpenShift Version
4.10
Velero pod logs
No response
Restic pod logs
No response
Operator pod logs
No response
New issue