Skip to content

tests.test_inquiry_chain or tests.test_inquiry_mistral will fail, if there are existing inquiries in the list #125

@humblearner

Description

@humblearner

cmd: 'echo $(st2 inquiry list | grep -o "[0-9a-f]\{24\}" | tail -1)'

Because ^^ line will get oldest inquiry from the list instead of most recent one:

$ st2 inquiry list
+--------------------------+-------+-------+------------+------+
| id                       | roles | users | route      | ttl  |
+--------------------------+-------+-------+------------+------+
| 59eea3a224c3f93717fc38bf |       |       | developers | 1440 |
| 59eea39824c3f93717fc38bc |       |       | developers | 1440 |
+--------------------------+-------+-------+------------+------+
$ st2 inquiry list | grep -o "[0-9a-f]\{24\}" | tail -1
59eea39824c3f93717fc38bc

where 59eea3a224c3f93717fc38bf is most recent.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions