Skip to content

Commit

Permalink
example fix
Browse files Browse the repository at this point in the history
Signed-off-by: Elena Kolevska <elena@kolevska.com>
  • Loading branch information
elena-kolevska committed Sep 23, 2024
1 parent c325a2a commit 7b04052
Showing 1 changed file with 6 additions and 10 deletions.
16 changes: 6 additions & 10 deletions examples/pubsub-streaming/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,11 @@ Run the following command in a terminal/command prompt:
<!-- STEP
name: Run subscriber
expected_stdout_lines:
- '== APP == Subscriber received: id=1, message="hello world", content_type="application/json"'
- 'RETRY status returned from app while processing pub/sub event'
- '== APP == Subscriber received: id=2, message="hello world", content_type="application/json"'
- '== APP == Subscriber received: id=3, message="hello world", content_type="application/json"'
- '== APP == Wildcard-Subscriber received: id=4, message="hello world", content_type="application/json"'
- '== APP == Wildcard-Subscriber received: id=5, message="hello world", content_type="application/json"'
- '== APP == Wildcard-Subscriber received: id=6, message="hello world", content_type="application/json"'
- '== APP == Dead-Letter Subscriber received: id=7, message="hello world", content_type="application/json"'
- '== APP == Dead-Letter Subscriber. Received via deadletter topic: TOPIC_D_DEAD'
- '== APP == Dead-Letter Subscriber. Originally intended topic: TOPIC_D'
- "== APP == Processing message: {'id': 1, 'message': 'hello world'} from TOPIC_A"
- "== APP == Processing message: {'id': 2, 'message': 'hello world'} from TOPIC_A"
- "== APP == Processing message: {'id': 3, 'message': 'hello world'} from TOPIC_A"
- "== APP == Processing message: {'id': 4, 'message': 'hello world'} from TOPIC_A"
- "== APP == Processing message: {'id': 5, 'message': 'hello world'} from TOPIC_A"
output_match_mode: substring
background: true
match_order: none
Expand All @@ -61,6 +56,7 @@ expected_stdout_lines:
- "== APP == {'id': 4, 'message': 'hello world'}"
- "== APP == {'id': 5, 'message': 'hello world'}"
background: true
output_match_mode: substring
sleep: 15
-->

Expand Down

0 comments on commit 7b04052

Please sign in to comment.