Closed
Description
Step recv
isn't respecting topic
property (when given).
Example: The following test fails because the recv
on stderr
sees "chips" written to stdout
.
spec:
phases:
phase1:
steps:
- pub:
chan: mother
payload:
make:
name: cmd
type: cmd
config:
command: bash
args:
- '-c'
- 'echo tacos >&2; sleep 1; echo chips'
- recv:
chan: mother
pattern:
success: true
- recv:
serialization: string
topic: stderr
regexp: tacos
- recv:
serialization: string
topic: stderr
regexp: chips
attempts: 1
timeout: 1s
fails: true