@Test
public void testGetProperSizedStatusString() {
File tempRepo = new File(System.getProperty("java.io.tmpdir"), "test-repo");
tempRepo.mkdir();
tempRepo.deleteOnExit();
MonitorClientService client = new MonitorClientService("127.0.0.1", 13243);
client.init();
Map<String, SystemDataModel> rtnMap = new HashMap<String, SystemDataModel>();
Random random = new Random();
for (int i = 0; i < 80; i++) {
client.update();
SystemInfo info = client.getSystemInfo();
if (info == null) {
return;
}
info.setCustomValues(random.nextInt() + "," + random.nextInt());
SystemDataModel data1 = new SystemDataModel(info, "3.1.2");