Skip to content

Commit

Permalink
Fixed UT testcase.
Browse files Browse the repository at this point in the history
Signed-off-by: rajkumar38 <rpennadamram@marvell.com>
  • Loading branch information
rajkumar38 committed Jul 25, 2023
1 parent 8be5495 commit 8dbc3cc
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/db_migrator_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -719,7 +719,8 @@ def test_fast_reboot_upgrade_to_4_0_3(self):
expected_db = self.mock_dedicated_config_db(db_after_migrate)
advance_version_for_expected_database(dbmgtr.configDB, expected_db.cfgdb, 'version_4_0_3')
assert not self.check_config_db(dbmgtr.configDB, expected_db.cfgdb)
assert dbmgtr.CURRENT_VERSION == expected_db.cfgdb.get_entry('VERSIONS', 'DATABASE')['VERSION']
if dbmgtr.CURRENT_VERSION == 'version_4_0_3':
assert dbmgtr.CURRENT_VERSION == expected_db.cfgdb.get_entry('VERSIONS', 'DATABASE')['VERSION']

class TestSflowSampleDirectionMigrator(object):
@classmethod
Expand Down

0 comments on commit 8dbc3cc

Please sign in to comment.