public void testUpdateInt() {
int value = 10;
try {
GMonitor gmon = new GMonitor(MULTICAST_ADDRESS, 30l);
GMetricInteger testMetric = (GMetricInteger) gmon.createGMetric(host, "Ganglia Test", GMetric.VALUE_TYPE_INT, "count", GMetric.SLOPE_UNSPECIFIED, true);
testMetric.incrementValue(value);
testMetric.incrementValue();
testMetric.setValue(value);
} catch (IOException e) {
e.printStackTrace();
fail();