Open tvalentyn opened 5 months ago
When running the test locally, it doesn't seem to run:
$ npm test -- --grep "@dataflow"
produces no logs for me:
> apache-beam@2.55.0-SNAPSHOT pretest
> npm run build
> apache-beam@2.55.0-SNAPSHOT build
> bash build.sh
> apache-beam@2.55.0-SNAPSHOT test
> mocha dist/test dist/test/docs --grep @dataflow
0 passing (2ms)
cc: @robertwb
Tried to timebox the fix but unfortunately gave up while setting up local test environment, it might be an easy fix for someone who has typescript environment set up. We might want to update the docs what is necessary to run these tests locally.
What happened?
Sample failure: https://github.com/apache/beam/actions/runs/7759817877/job/21164749924
Reason: test is using Beam Python Dev SDK, attempts to run on Dataflow, but doesn't supply --sdk_location . This is error is raised by Dataflow runner to prevent a scenario where an sdk at job submission doesn't match the SDK at runtime.
Fix: Use a released Python SDK installation when running a Typescript test pipeline, or supply an additional flag:
--sdk_location=./path/to/sdist
or supply--sdk_location=container
if using slightly outdated default dev SDK container is acceptable, then we don't need to build an sdist.Issue Failure
Failure: Test is continually failing
Issue Priority
Priority: 2 (backlog / disabled test but we think the product is healthy)
Issue Components