Skip to content
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

Re-enable all tests #54

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,26 +31,26 @@ script:
- ./scripts/start-kind.sh

# Test local container run mode
# - RAYVENS_TEST_MODE=local python ./tests/stream.py
# - RAYVENS_TEST_MODE=local python ./tests/source.py
- RAYVENS_TEST_MODE=local python ./tests/stream.py
- RAYVENS_TEST_MODE=local python ./tests/source.py
- RAYVENS_TEST_MODE=local RAYVENS_TRANSPORT=kafka python ./tests/source.py
# - ray submit ./scripts/cluster.yaml ./tests/stream.py
- ray submit ./scripts/cluster.yaml ./tests/stream.py
- ray submit ./scripts/cluster.yaml ./tests/source.py
- RAYVENS_TEST_MODE=local python ./tests/kafka_transport.py
- ray submit ./scripts/cluster.yaml ./tests/kafka_transport.py local
- RAYVENS_TEST_MODE=local python ./tests/kafka_scaling_transport.py
- ray submit ./scripts/cluster.yaml ./tests/kafka_scaling_transport.py local

# Test operator mode
# - ray submit ./scripts/cluster.yaml ./tests/source_operator.py
- ray submit ./scripts/cluster.yaml ./tests/source_operator.py
- RAYVENS_TEST_MODE=local python ./tests/sink.py
- ray submit ./scripts/cluster.yaml ./tests/sink.py
# - RAYVENS_TEST_MODE=local python ./tests/kafka.py
# - ray submit ./scripts/cluster.yaml ./tests/kafka.py
# - RAYVENS_TEST_MODE=local python ./tests/generic_sink.py
# - ray submit ./scripts/cluster.yaml ./tests/generic_sink.py
# - RAYVENS_TEST_MODE=local python ./tests/generic_source.py
# - ray submit ./scripts/cluster.yaml ./tests/generic_source.py
- RAYVENS_TEST_MODE=local python ./tests/kafka.py
- ray submit ./scripts/cluster.yaml ./tests/kafka.py
- RAYVENS_TEST_MODE=local python ./tests/generic_sink.py
- ray submit ./scripts/cluster.yaml ./tests/generic_sink.py
- RAYVENS_TEST_MODE=local python ./tests/generic_source.py
- ray submit ./scripts/cluster.yaml ./tests/generic_source.py
- ray submit ./scripts/cluster.yaml ./tests/kafka_transport.py operator
- ray submit ./scripts/cluster.yaml ./tests/kafka_scaling_transport.py operator

Expand Down
2 changes: 1 addition & 1 deletion examples/kafka/kafka_event_streaming_source.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
# Log all events from stream-attached sources.
stream >> (lambda event: print('LOG:', event))

# Event source config.
# Event source configuration.
source_config = dict(
kind='http-source',
url='https://query1.finance.yahoo.com/v7/finance/quote?symbols=AAPL',
Expand Down