Skip to content

Commit

Permalink
go back to get test running
Browse files Browse the repository at this point in the history
  • Loading branch information
erilong committed Mar 11, 2019
1 parent ae46783 commit d4b10ad
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Expand Up @@ -42,6 +42,7 @@
import org.junit.Test;
import org.springframework.jdbc.support.nativejdbc.CommonsDbcpNativeJdbcExtractor;

@SuppressWarnings("deprecation")
public class MsSqlBulkDatabaseWriterTest extends AbstractBulkDatabaseWriterTest {

protected static IStagingManager stagingManager;
Expand Down
Expand Up @@ -35,6 +35,7 @@
import org.junit.BeforeClass;
import org.springframework.jdbc.support.nativejdbc.CommonsDbcpNativeJdbcExtractor;

@SuppressWarnings("deprecation")
public class MySqlBulkDatabaseWriterTest extends AbstractBulkDatabaseWriterTest {

protected static IStagingManager stagingManager;
Expand All @@ -58,6 +59,11 @@ protected boolean shouldTestRun(IDatabasePlatform platform) {
return platform != null && platform instanceof MySqlDatabasePlatform;
}

@Override
public void testDuplicateRow() {
// mysql already handles duplidates. no need to test the special functionality we added to handle dupes
}

protected AbstractDatabaseWriter create(){
return new MySqlBulkDatabaseWriter(platform, platform, "sym_", stagingManager, new CommonsDbcpNativeJdbcExtractor(), 10, 1000,true, true);
}
Expand Down

0 comments on commit d4b10ad

Please sign in to comment.