@Test
public void testJdbcHdfsJob() {
// Deploy stream and job.
String data = UUID.randomUUID().toString();
jdbcSink.getJdbcTemplate().getDataSource();
JdbcHdfsJob job = jobs.jdbcHdfsJob();
// Use a trigger to send data to JDBC
stream("dataSender", sources.http() + XD_DELIMITER
+ jdbcSink);
sources.http(getContainerHostForSource("dataSender")).postData(data);
job(job.toDSL());
waitForXD();
jobLaunch();
waitForXD(2000);
// Evaluate the results of the test.
String path = JdbcHdfsJob.DEFAULT_DIRECTORY + "/" + JdbcHdfsJob.DEFAULT_FILE_NAME + "-0.csv";