Skip to content

Commit

Permalink
fix redshift acceptance test
Browse files Browse the repository at this point in the history
  • Loading branch information
girarda committed Feb 22, 2022
1 parent 909bf4d commit 4dbb749
Showing 1 changed file with 5 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

import com.fasterxml.jackson.databind.JsonNode;
import com.fasterxml.jackson.databind.node.ObjectNode;
import com.google.common.collect.ImmutableMap;
import io.airbyte.commons.io.IOs;
import io.airbyte.commons.json.Jsons;
import io.airbyte.commons.string.Strings;
Expand All @@ -21,8 +22,8 @@
import java.util.stream.Collectors;

/**
* Integration test testing {@link RedshiftCopyS3Destination}. The default Redshift integration test
* credentials contain S3 credentials - this automatically causes COPY to be selected.
* Integration test testing {@link RedshiftCopyS3Destination}. The default Redshift integration test credentials contain S3 credentials - this
* automatically causes COPY to be selected.
*/
public class RedshiftCopyDestinationAcceptanceTest extends DestinationAcceptanceTest {

Expand Down Expand Up @@ -141,7 +142,8 @@ protected Database getDatabase() {
baseConfig.get("port").asText(),
baseConfig.get("database").asText()),
"com.amazon.redshift.jdbc.Driver", null,
"ssl=true;sslfactory=com.amazon.redshift.ssl.NonValidatingFactory");
ImmutableMap.of("ssl", "true", "sslfactory", "com.amazon.redshift.ssl.NonValidatingFactory")
);
}

@Override
Expand Down

0 comments on commit 4dbb749

Please sign in to comment.