hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Hadoop Wiki] Update of "HowToUseSystemTestFramework" by GaryMurry
Date Wed, 25 Aug 2010 19:20:21 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.

The "HowToUseSystemTestFramework" page has been changed by GaryMurry.
The comment on this change is: Fixed cut and paste error..
http://wiki.apache.org/hadoop/HowToUseSystemTestFramework?action=diff&rev1=6&rev2=7

--------------------------------------------------

      Assert.assertTrue("Dummy varialble is expected to be null before restart.",
          daemonConf.get(DUMMY_CONFIG_STRING) == null);
      cluster.restartClusterWithNewConfig(prop, confFile);
-     Configuration newconf = cluster.getJTCeFIG_STRING).equals("1"));
+     Configuration newconf = cluster.getJTClient().getProxy().getDaemonConf();
+     Assert.assertTrue("Extra varialble is expected to be set",
+         newconf.get(DUMMY_CONFIG_STRING).equals("1"));
      cluster.restart();
      daemonConf = cluster.getJTClient().getProxy().getDaemonConf();
      Assert.assertTrue("Dummy variable is expected to be null after restart.",

Mime
View raw message