@BeforeClass(alwaysRun = true) public void initTest() throws MLIntegrationBaseTestException, MLHttpClientException, IOException, JSONException { super.init(); mlHttpclient = getMLHttpClient(); String version = "1.0"; int datasetId = createDataset( MLIntegrationTestConstants.DATASET_NAME_DIABETES, version, MLIntegrationTestConstants.DIABETES_DATASET_SAMPLE); versionSetId = getVersionSetId(datasetId, version); isDatasetProcessed(versionSetId, MLIntegrationTestConstants.THREAD_SLEEP_TIME_LARGE, 1000); projectId = createProject( MLIntegrationTestConstants.PROJECT_NAME_DIABETES, MLIntegrationTestConstants.DATASET_NAME_DIABETES); }
@AfterClass(alwaysRun = true) public void tearDown() throws InterruptedException, MLHttpClientException { super.destroy(); }