You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by Apache Wiki <wi...@apache.org> on 2010/08/25 21:20:21 UTC

[Hadoop Wiki] Update of "HowToUseSystemTestFramework" by GaryMurry

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.",