protected void disableTracing() { Tracing.create(stagingClient).disable(); }
@AfterEach public void afterEach() { Tracing.create(flowRunnerClient).disable(); clearDatabases(HubConfig.DEFAULT_JOB_NAME, HubConfig.DEFAULT_FINAL_NAME); }
@BeforeEach public void setup() throws IOException, URISyntaxException { XMLUnit.setIgnoreWhitespace(true); enableDebugging(); clearDatabases(HubConfig.DEFAULT_STAGING_NAME, HubConfig.DEFAULT_JOB_NAME, HubConfig.DEFAULT_FINAL_NAME); clearUserModules(); deleteProjectDir(); createProjectDir(); dataHub.initProject(); FileUtils.copyDirectory( new File("src/test/resources/tracing-test/plugins"), new File(PROJECT_PATH + "/plugins") ); installUserModules(adminHubConfig, true); //Disable tracing that may have been enabled in previous tests Tracing.create(flowRunnerClient).disable(); }