use of alluxio.hub.proto.AgentWriteConfigurationSetRequest in project alluxio by Alluxio.
the class AgentManagerServiceTest method testWriteConf.
@Test
public void testWriteConf() throws Exception {
AlluxioConfigurationSet s = AlluxioConfigurationSet.newBuilder().setSiteProperties("testProps").setAlluxioEnv("testEnv").build();
doNothing().when(mContext).writeConf(ArgumentMatchers.any());
AgentWriteConfigurationSetRequest r = AgentWriteConfigurationSetRequest.newBuilder().setConfSet(s).build();
mClient.writeConfigurationSet(r);
verify(mContext).writeConf(s);
}
Aggregations