Skip to content

Recv not respecting topic #111

Closed
Closed
@jsccast

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

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions