Reverting to the Older Version
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 or export test results
now you find the newer version is not stable enough, or for some other reason, you want to move to an older version.
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:
Error about the current version of db being more than the required
Take a backup of the Test Results [Optional but safe]
execute
handshake step-back TestResults
--version reverted--
run:
handshake migrate TestResults
to check if you are in the correct version w.r.t to build
Last updated