Skip to content

wait_for_idle should raise if apps is not a list #732

@sed-i

Description

@sed-i

It is a common error to pass an str instead of List[str] to apps= in wait_for_idle, and as a result the test fails for timeout:

INFO     juju.model:model.py:2645 Waiting for model:
  p (missing)
  r (missing)
  o (missing)
  m (missing)
  e (missing)
  t (missing)
  h (missing)
  e (missing)
  u (missing)
  s (missing)

It would be handy if the test fails with a more obvious message.

:param apps (list[str]): Optional list of specific app names to wait on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions