Skip to content

Commit

Permalink
[HWKMETRIC-207] clean up MetricsServiceImpl.createTenant method
Browse files Browse the repository at this point in the history
  • Loading branch information
John Sanda committed Aug 11, 2015
1 parent ef473f1 commit bad3228
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@
import static org.hawkular.metrics.core.api.MetricType.COUNTER;
import static org.hawkular.metrics.core.impl.TimeUUIDUtils.getTimeUUID;

import static com.datastax.driver.core.BatchStatement.Type.UNLOGGED;

import java.nio.ByteBuffer;
import java.util.List;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,8 @@ public void createTenants() throws Exception {
assertDataRetentionsIndexMatches(t1.getId(), GAUGE, ImmutableSet.of(new Retention(
new MetricId(t1.getId(), GAUGE, makeSafe(GAUGE.getText())), 1)));
assertDataRetentionsIndexMatches(t1.getId(), AVAILABILITY, ImmutableSet.of(new Retention(
new MetricId(t1.getId(), AVAILABILITY, makeSafe(AVAILABILITY.getText())), 1)));
new MetricId(t1.getId(), AVAILABILITY, "[" + AVAILABILITY.getText() + "]"),
hours(24).toStandardSeconds().getSeconds())));
}

@Test
Expand Down

0 comments on commit bad3228

Please sign in to comment.