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
[BEAM-479] Name local Spark RunnableOnService profile more precisely #711
Conversation
Test failure is Travis timeout on Mac infrastructure, which is happening broadly. Not related to this PR. |
What does a |
That's a really good question, worth nailing down. Intuitively it means "no cluster needs to be set up". I guess the important things would be:
It applies not just to runners but also to tests. For example, KafkaIO can run an embedded Kafka, and that will work with local Flink & Spark. Whereas Dataflow doesn't have a local version since it is a hosted service. Does this seem reasonable? If not, is there somewhere we can go with this idea? |
BTW I think the Jenkins failure is a hardcoded port that is being allocated by two jobs running in parallel on the same box. |
Generally makes sense, even more, most tests on runners will probably be |
Local testing is excellent for unit tests or "fast postcommits". But I think we want to make it easier and easier to test Beam on remote infra of all sorts -- this is our primary intended use case. E.g., I'd like there to be a post-commit that runs on a permanent Flink cluster, a permanent Spark cluster, etc. These are the things we need to make sure work well! |
I'm for The |
+1 for local-* and cluster-* |
I agree that we should test the most common use case. I don't have much more to say than that as far as how and where it might be provisioned in the future. Maybe it is a good discussion for the dev list? |
18e0648
to
4230312
Compare
LGTM. I'll publish in dev list tomorrow. |
4230312
to
b9543b9
Compare
Settling on the name "local-runnable-on-service-tests" for all profiles with a local endpoint. That way, this profile plus the desired module will suffice to run against a local endpoint if possible.
b9543b9
to
3f828b7
Compare
Be sure to do all of the following to help us incorporate your contribution
quickly and easily:
[BEAM-<Jira issue #>] Description of pull request
mvn clean verify
. (Even better, enableTravis-CI on your fork and ensure the whole test matrix passes).
<Jira issue #>
in the title with the actual Jira issuenumber, if there is one.
Individual Contributor License Agreement.
Settling on the name
local-runnable-on-service-tests
for all profiles with a local endpoint. That way, this profile plus the desired module will suffice to run against a local endpoint if possible.