Skip to content
Snippets Groups Projects
Commit 5adc3ddd authored by nitsanw's avatar nitsanw
Browse files

Fixup test which implicitly expects the histogram type

parent c7a66800
No related branches found
No related tags found
No related merge requests found
......@@ -32,7 +32,9 @@ import static org.testng.AssertJUnit.assertTrue;
public class TestMeasurementsExporter {
@Test
public void testJSONArrayMeasurementsExporter() throws IOException {
Measurements mm = new Measurements(new Properties());
Properties props = new Properties();
props.put(Measurements.MEASUREMENT_TYPE_PROPERTY, "histogram");
Measurements mm = new Measurements(props);
ByteArrayOutputStream out = new ByteArrayOutputStream();
JSONArrayMeasurementsExporter export = new JSONArrayMeasurementsExporter(out);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment