//give the controller some time to work on the separate thread
Thread.sleep(4000);
matrix = (MatrixProject)Jenkins.getInstance().getItem("myMatrix");
property = matrix.getProperty(MetadataJobProperty.class);
assertNotNull(property);
MetadataValue path = TreeStructureUtil.getPath(property, "the", "world", "says");
assertNotNull(path);
assertEquals("hello", path.getValue());
for (MatrixConfiguration config : matrix.getActiveConfigurations()) {
property = config.getProperty(MetadataJobProperty.class);
assertNotNull(property);
path = TreeStructureUtil.getPath(property, "the", "world", "says");
assertNotNull(path);
assertEquals("hello", path.getValue());
}
}