@Test
/**
 * Tests if HDFS location is correct
 */
public void testSyncLocationHDFS() throws Exception {

    // This the check id the schema pre and after a sync is the same
    String describePre = extractTableDirectory(sourceSchema, sourceTable);
    // Test without Partitions
    mergeSyncSupport.doSync(sourceSchema, sourceTable, targetSchema, targetTableNP, specNP, processingPartition);
    String describePost = extractTableDirectory(targetSchema, targetTableNP);
    if((describePre == null) || (describePost == null)) assert(false);
    assert(describePre.equals(describePost));
    // Test with Partitions
    mergeSyncSupport.doSync(sourceSchema, sourceTable, targetSchema, targetTable, spec, processingPartition);
    describePost = extractTableDirectory(targetSchema, targetTable);
    if((describePre == null) || (describePost == null)) assert(false);
    assert(describePre.equals(describePost));
}