Skip to content

Having trouble with malformed arguments in >= v2.23.1 #1539

@sebrandon1

Description

@sebrandon1

I'm attempting to update my ginkgo version to v2.23.3 and I'm receiving issues with my following script one liner:

https://github.com/redhat-best-practices-for-k8s/certsuite-qe/blob/main/scripts/run-tests.sh#L61

ginkgo -timeout=24h -v ${PFLAG} ${FFLAG} --keep-going "${GINKGO_SEED_FLAG}" --output-interceptor-mode=none --require-suite $command

It's telling me (example here):

ginkgo run failed
    Malformed arguments - detected a flag after the package liste
      Make sure all flags appear after the Ginkgo subcommand and before your list of
      packages (or './...').
      e.g. 'ginkgo run -p my_package' is valid but `ginkgo -p run my_package` is
      not.
      e.g. 'ginkgo -p -vet ./...' is valid but 'ginkgo -p ./... -vet' is not

I noticed the release v2.23.1 has mentioned that if anyone hits a problem to create an issue. I've tried various configurations of my command it's still having a problem with malformed arguments.

Can someone help me fix my command?

Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions