}
}
public void testMatrixBuildsOnlyExactRuns() throws Exception {
MatrixProject upstream = createMatrixProject();
upstream.setAxes(new AxisList(new TextAxis("childname", "child1", "child2", "child3")));
upstream.getBuildersList().add(new WriteFileBuilder("properties.txt", "triggered_${childname}=true"));
FreeStyleProject downstream = createFreeStyleProject();
// Run build.
// builds of child1, child2, child3 is created.
upstream.scheduleBuild2(0).get();
// child2 is dropped
upstream.setAxes(new AxisList(new TextAxis("childname", "child1", "child3")));
// without onlyExactRuns
{
upstream.getPublishersList().clear();
upstream.getPublishersList().add(new BuildTrigger(