https://linen.dev logo
c

Chris (deprecated profile)

04/22/2021, 4:14 PM
Hello! I’m trying to hook up integration tests in
base-normalization
project (using a
customIntegrationTestPython
task) However, in this test, I actually need to run some docker images of destinations, how do i make my task depends on them in the build.gradle? (i’ve seen in the connectors side, they successfully depends on normalization airbyte docker images but i can’t do it the way around?) I get:
Copy code
FAILURE: Build failed with an exception.

* Where:
Build file '/Users/chris/Workspace/airbyte/airbyte-integrations/bases/base-normalization/build.gradle' line: 14

* What went wrong:
A problem occurred evaluating project ':airbyte-integrations:bases:base-normalization'.
> Could not get unknown property 'airbyteDocker' for project ':airbyte-integrations:connectors:destination-bigquery' of type org.gradle.api.Project.
u

user

04/22/2021, 4:17 PM
Plus when declaring the dependencies, i wrote it with
testImplementation
for now, not sure if I could put
customIntegrationTestPython
instead?
u

user

04/22/2021, 4:39 PM
I think this is happening due to the order of parsing the gradle files.
u

user

04/22/2021, 4:40 PM
I’m not sure exactly why, but I believe adding:
Copy code
project.evaluationDependsOn(':airbyte-integrations:connectors:destination-bigquery')
before the
dependencies
section will fix it
4 Views