Revision c294f84e test/py/cfgupgrade_unittest.py

b/test/py/cfgupgrade_unittest.py
365 365
  def testUpgradeFullConfigFrom_2_7(self):
366 366
    self._TestUpgradeFromFile("cluster_config_2.7.json", False)
367 367

  
368
  def testUpgradeFullConfigFrom_2_8(self):
369
    self._TestUpgradeFromFile("cluster_config_2.8.json", False)
370

  
368 371
  def testUpgradeCurrent(self):
369 372
    self._TestSimpleUpgrade(constants.CONFIG_VERSION, False)
370 373

  
......
382 385
  def testDowngradeFullConfig(self):
383 386
    """Test for upgrade + downgrade combination."""
384 387
    # This test can work only with the previous version of a configuration!
385
    # For 2.7, downgrading returns the original file only if group policies
386
    # don't override instance specs, so we need to use an ad-hoc configuration.
387
    oldconfname = "cluster_config_downgraded_2.7.json"
388
    oldconfname = "cluster_config_2.8.json"
388 389
    self._TestUpgradeFromFile(oldconfname, False)
389 390
    _RunUpgrade(self.tmpdir, False, True, downgrade=True)
390 391
    oldconf = self._LoadTestDataConfig(oldconfname)

Also available in: Unified diff