@Test
public void testUpdateDouble() {
double value = 10.50;
try {
GMonitor gmon = new GMonitor(MULTICAST_ADDRESS, 30l);
GMetricDouble testMetric = (GMetricDouble) gmon.createGMetric(host, "Ganglia Test", GMetric.VALUE_TYPE_DOUBLE, "count", GMetric.SLOPE_UNSPECIFIED, true);
testMetric.incrementValue(value);
testMetric.incrementValue();
testMetric.setValue(value);
} catch (IOException e) {
e.printStackTrace();