🗒️DB Version Mis-Match
Please take note of db-version before moving to older releases of handshake python-build
Let's Think of a Scenario:
Update handshake (py package)
Which might migrate your DB to a newer version, when you start a test run
now you find the newer version is not stable enough or other reasons
So, you would now be using old handshake py-build with the latest db version
But the DB Version will not be reverted
So, whenever you run scripts, it fails to mention that it failed to migrate to reach this version.
Error Message and Resolution
Resolution
In this case, manual intervention is required, we need to note the current version of db and the expected version to know that you can execute handshake migrate [TestResults]
Please take back up if you are doing this through
handshake zip-results [TestResults]
if the Version you have is v9 but required is v7, you would need to execute handshake step-back [TestResults]
twice.
To Summarize:
Take backup of the TestResults [Optional but safe]
handshake migrate TestResults
--Same error message--
handshake step-back TestResults
--Same error message--
Repeat from step 1 if no error message, you can start your test run
Last updated