Code review comment: Nit: please add blank line between line 94 and 95. Nit2: add space before "cast"  Maybe let's drop the ": Beam incubation date :)" part (imo, it may be distractive and it's redundant)

Code under review:
public void testSavePerfsToBigQuery() throws IOException, InterruptedException {
    NexmarkConfiguration nexmarkConfiguration1 = new NexmarkConfiguration();
    nexmarkConfiguration1.query = QUERY;
    
    nexmarkConfiguration1.cpuDelayMs = 100L;
    NexmarkPerf nexmarkPerf1 = new NexmarkPerf();
    nexmarkPerf1.numResults = 1000L;
    nexmarkPerf1.eventsPerSec = 0.5F;
    nexmarkPerf1.runtimeSec = 0.325F;

    NexmarkConfiguration nexmarkConfiguration2 = new NexmarkConfiguration();
    nexmarkConfiguration2.query = QUERY;
    
    nexmarkConfiguration1.cpuDelayMs = 200L;
    NexmarkPerf nexmarkPerf2 = new NexmarkPerf();
    nexmarkPerf2.numResults = 1001L;
    nexmarkPerf2.eventsPerSec = 1.5F;
    nexmarkPerf2.runtimeSec = 1.325F;

    
    HashMap<NexmarkConfiguration, NexmarkPerf> perfs = new HashMap<>(2);
    perfs.put(nexmarkConfiguration1, nexmarkPerf1);
    perfs.put(nexmarkConfiguration2, nexmarkPerf2);
    
    
    int startTimestampSeconds = 1454284800;
    Main.savePerfsToBigQuery(
        options, perfs, fakeBqServices, new Instant(startTimestampSeconds * 1000L));

    String tableSpec = NexmarkUtils.tableSpec(options, String.valueOf(QUERY), 0L, null);
    List<TableRow> actualRows =
        fakeDatasetService.getAllRows(
            options.getProject(),
            options.getBigQueryDataset(),
            BigQueryHelpers.parseTableSpec(tableSpec).getTableId());
    assertEquals("Wrong number of rows inserted", 2, actualRows.size());
    List<TableRow> expectedRows = new ArrayList<>();
    TableRow row1 =
        new TableRow()
            .set("timestamp", startTimestampSeconds)
            .set("runtimeSec", nexmarkPerf1.runtimeSec)
            .set("eventsPerSec", nexmarkPerf1.eventsPerSec)
            
            .set("numResults", (int) nexmarkPerf1.numResults);
    expectedRows.add(row1);
    TableRow row2 =
        new TableRow()
            .set("timestamp", startTimestampSeconds)
            .set("runtimeSec", nexmarkPerf2.runtimeSec)
            .set("eventsPerSec", nexmarkPerf2.eventsPerSec)
            
            .set("numResults", (int) nexmarkPerf2.numResults);
    expectedRows.add(row2);
    assertThat(actualRows, containsInAnyOrder(Iterables.toArray(expectedRows, TableRow.class)));
  }


Revised code:
public void testSavePerfsToBigQuery() throws IOException, InterruptedException {
    NexmarkConfiguration nexmarkConfiguration1 = new NexmarkConfiguration();
    nexmarkConfiguration1.query = QUERY;
    
    nexmarkConfiguration1.cpuDelayMs = 100L;
    NexmarkPerf nexmarkPerf1 = new NexmarkPerf();
    nexmarkPerf1.numResults = 1000L;
    nexmarkPerf1.eventsPerSec = 0.5F;
    nexmarkPerf1.runtimeSec = 0.325F;

    NexmarkConfiguration nexmarkConfiguration2 = new NexmarkConfiguration();
    nexmarkConfiguration2.query = QUERY;
    
    nexmarkConfiguration1.cpuDelayMs = 200L;
    NexmarkPerf nexmarkPerf2 = new NexmarkPerf();
    nexmarkPerf2.numResults = 1001L;
    nexmarkPerf2.eventsPerSec = 1.5F;
    nexmarkPerf2.runtimeSec = 1.325F;

    
    HashMap<NexmarkConfiguration, NexmarkPerf> perfs = new HashMap<>(2);
    perfs.put(nexmarkConfiguration1, nexmarkPerf1);
    perfs.put(nexmarkConfiguration2, nexmarkPerf2);

    
    
    int startTimestampSeconds = 1454284800;
    Main.savePerfsToBigQuery(
        options, perfs, fakeBqServices, new Instant(startTimestampSeconds * 1000L));

    String tableSpec = NexmarkUtils.tableSpec(options, String.valueOf(QUERY), 0L, null);
    List<TableRow> actualRows =
        fakeDatasetService.getAllRows(
            options.getProject(),
            options.getBigQueryDataset(),
            BigQueryHelpers.parseTableSpec(tableSpec).getTableId());
    assertEquals("Wrong number of rows inserted", 2, actualRows.size());
    List<TableRow> expectedRows = new ArrayList<>();
    TableRow row1 =
        new TableRow()
            .set("timestamp", startTimestampSeconds)
            .set("runtimeSec", nexmarkPerf1.runtimeSec)
            .set("eventsPerSec", nexmarkPerf1.eventsPerSec)
            
            .set("numResults", (int) nexmarkPerf1.numResults);
    expectedRows.add(row1);
    TableRow row2 =
        new TableRow()
            .set("timestamp", startTimestampSeconds)
            .set("runtimeSec", nexmarkPerf2.runtimeSec)
            .set("eventsPerSec", nexmarkPerf2.eventsPerSec)
            
            .set("numResults", (int) nexmarkPerf2.numResults);
    expectedRows.add(row2);
    assertThat(actualRows, containsInAnyOrder(Iterables.toArray(expectedRows, TableRow.class)));
  }