imageShd0, imageShd1,
editsShd0, editsShd1);
// update configuration for nodezero
newconf = new Configuration();
StartupInfo startInfoZero = new StartupInfo(null, InstanceId.NODEZERO,
false, "service", false);
updateConf(startInfoZero, newconf);
// check configuration
assertEqualsCol(getList(imageLcl, imageShd0),
NNStorageConfiguration.getNamespaceDirs(newconf, null));
assertEqualsCol(getList(editsLcl, editsShd0),
NNStorageConfiguration.getNamespaceEditsDirs(newconf, null));
// check shared directory
checkKey(imageShd0, "dfs.name.dir.shared", newconf);
checkKey(editsShd0, "dfs.name.edits.dir.shared", newconf);
// update configuration for nodeone
newconf = new Configuration();
StartupInfo startInfoOne = new StartupInfo(null, InstanceId.NODEONE, true,
"service", false);
updateConf(startInfoOne, newconf);
// check configuration
assertEqualsCol(getList(imageLcl, imageShd1),