@Category(XSlowTests.class)
public class SparkMetricsIntegrationTestRun extends TestFrameworkTestBase {
public static final String METRICS_KEY = "system.driver.BlockManager.memory.remainingMem_MB";
@Test
public void testSparkMetrics() throws Exception {
<BUG>ApplicationManager applicationManager = deployApplication(TestSparkMetricsIntegrationApp.class);
SparkManager sparkManager = applicationManager.getSparkManager(TestSparkMetricsIntegrationApp.APP_SPARK_NAME);

sparkManager.start();</BUG>
sparkManager.waitForFinish(120, TimeUnit.SECONDS);

@Category(XSlowTests.class)
public class SparkMetricsIntegrationTestRun extends TestFrameworkTestBase {
public static final String METRICS_KEY = "system.driver.BlockManager.memory.remainingMem_MB";
@Test
public void testSparkMetrics() throws Exception {
ApplicationManager applicationManager = deployApplication(TestSparkMetricsIntegrationApp.class);
SparkManager sparkManager =
applicationManager.getSparkManager(TestSparkMetricsIntegrationApp.APP_SPARK_NAME).start();
sparkManager.waitForFinish(120, TimeUnit.SECONDS);
