// TODO How to set this?
@Test
    public void testGetWithTwoTags() {
        int limit = THREAD_COUNT;        // TODO How to set this?
        queryParameters.put("limit", Arrays.asList(String.valueOf(limit)));
        // TODO pick iteration and pod at random
        queryParameters.put("tag", Arrays.asList("iteration:1", "podname:" + workerPodNames.get(0)));
        logger.info("Query parameters: " + queryParameters.size());
        List<Datum> traces = simpleRestClient.getTraces(queryParameters, limit);
        Instant testEndTime = Instant.now();
        long duration = Duration.between(testStartTime, testEndTime).toMillis();
        logger.info("Retrieval of " + limit + " spans in testGetWithTwoTags took " + numberFormat.format(duration) + " milliseconds");
        assertNotNull(traces);
        assertEquals(limit, traces.size());
        // TODO add more validation
    }
@Test
public void testGetWithTwoTags() {
int limit = THREAD_COUNT; // TODO How to set this?
queryParameters.put("limit", Arrays.asList(String.valueOf(limit)));
// TODO pick iteration and pod at random
@Test
public void testGetWithTwoTags() {
int limit = THREAD_COUNT; // TODO How to set this?
queryParameters.put("limit", Arrays.asList(String.valueOf(limit)));
// TODO pick iteration and pod at random
queryParameters.put("tag", Arrays.asList("iteration:1", "podname:" + workerPodNames.get(0)));
logger.info("Query parameters: " + queryParameters.size());
List<Datum> traces = simpleRestClient.getTraces(queryParameters, limit);
Instant testEndTime = Instant.now();
long duration = Duration.between(testStartTime, testEndTime).toMillis();
logger.info("Retrieval of " + limit + " spans in testGetWithTwoTags took " + numberFormat.format(duration) + " milliseconds");
assertNotNull(traces);
assertEquals(limit, traces.size());
@Test
public void testGetWithTwoTags() {
int limit = THREAD_COUNT; // TODO How to set this?
queryParameters.put("limit", Arrays.asList(String.valueOf(limit)));
// TODO pick iteration and pod at random
queryParameters.put("tag", Arrays.asList("iteration:1", "podname:" + workerPodNames.get(0)));
logger.info("Query parameters: " + queryParameters.size());
List<Datum> traces = simpleRestClient.getTraces(queryParameters, limit);
Instant testEndTime = Instant.now();
long duration = Duration.between(testStartTime, testEndTime).toMillis();
logger.info("Retrieval of " + limit + " spans in testGetWithTwoTags took " + numberFormat.format(duration) + " milliseconds");
assertNotNull(traces);
assertEquals(limit, traces.size());
// TODO add more validation
}