Skip to content

Commit

Permalink
13541 Fixed integration tests source-db2 Mac OS (#14133)
Browse files Browse the repository at this point in the history
  • Loading branch information
suhomud authored Jun 27, 2022
1 parent a891302 commit e7cce38
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
import io.airbyte.integrations.source.db2.Db2Source;
import io.airbyte.integrations.standardtest.source.SourceAcceptanceTest;
import io.airbyte.integrations.standardtest.source.TestDestinationEnv;
import io.airbyte.integrations.util.HostPortResolver;
import io.airbyte.protocol.models.CatalogHelpers;
import io.airbyte.protocol.models.ConfiguredAirbyteCatalog;
import io.airbyte.protocol.models.ConfiguredAirbyteStream;
Expand Down Expand Up @@ -104,7 +105,7 @@ protected void setupEnvironment(final TestDestinationEnv environment) throws Exc

config = Jsons.jsonNode(ImmutableMap.builder()
.put("host", db.getHost())
.put("port", db.getMappedPort(50000))
.put("port", db.getFirstMappedPort())
.put("db", db.getDatabaseName())
.put("username", db.getUsername())
.put("password", db.getPassword())
Expand Down

0 comments on commit e7cce38

Please sign in to comment.