Use expect syntax in stream_spec