-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bulk load CDK: Even more tests #47377
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,12 +11,10 @@ import io.airbyte.cdk.command.FeatureFlag | |
import io.airbyte.protocol.models.Jsons | ||
import io.airbyte.protocol.models.v0.AirbyteMessage | ||
import io.airbyte.protocol.models.v0.ConfiguredAirbyteCatalog | ||
import io.micronaut.context.annotation.Requires | ||
import java.io.PipedInputStream | ||
import java.io.PipedOutputStream | ||
import java.io.PrintWriter | ||
import java.util.concurrent.Executors | ||
import javax.inject.Singleton | ||
import kotlinx.coroutines.CompletableDeferred | ||
import kotlinx.coroutines.asCoroutineDispatcher | ||
import kotlinx.coroutines.launch | ||
|
@@ -93,11 +91,6 @@ class NonDockerizedDestination( | |
} | ||
} | ||
|
||
// Notably, not actually a Micronaut factory. We want to inject the actual | ||
// factory into our tests, not a pre-instantiated destination, because we want | ||
// to run multiple destination processes per test. | ||
@Singleton | ||
@Requires(notEnv = [DOCKERIZED_TEST_ENV]) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is because docker-v-nondocker is now controlled by an explicit env variable check in the process factory? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. yep, exactly. I just forgot to remove these annotations in #47006 |
||
class NonDockerizedDestinationFactory : DestinationProcessFactory() { | ||
override fun createDestinationProcess( | ||
command: String, | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
most (all?) destinations don't actually support traversing a jsonpath to fetch a cursor/PK, but it's easy enough to implement in java 🤷