Hsien-Cheng(Ryan) Huang created YUNIKORN-2841:
-------------------------------------------------
Summary: fix Ginkgo version mismatch warning
Key: YUNIKORN-2841
URL: https://issues.apache.org/jira/browse/YUNIKORN-2841
Project: Apache YuniKorn
Issue Type: Improvement
Reporter: Hsien-Cheng(Ryan) Huang
In ci and my local environment, version mismatch warning occurs always.
eg.
https://github.com/apache/yunikorn-core/actions/runs/10521024754/job/29150992090?pr=955#step:8:441
Ginkgo detected a version mismatch between the Ginkgo CLI and the version of
Ginkgo imported by your packages:
Ginkgo CLI Version:
2.19.0
Mismatched package versions found:
2.15.0 used by admission_controller, basic_scheduling, bin_packing,
configmap, gang_scheduling, node_resources, persistent_volume, predicates,
preemption, priority_scheduling, queue_quota_mgmt, recovery_and_restart,
resource_fairness, restart_changed_config, simple_preemptor,
spark_jobs_scheduling, user_group_limit
Ginkgo will continue to attempt to run but you may see errors (including flag
parsing errors) and should either update your go.mod or your version of the
Ginkgo CLI to match.
To install the matching version of the CLI run
go install github.com/onsi/ginkgo/v2/ginkgo
from a path that contains a go.mod file. Alternatively you can use
go run github.com/onsi/ginkgo/v2/ginkgo
from a path that contains a go.mod file to invoke the matching version of the
Ginkgo CLI.
If you are attempting to test multiple packages that each have a different
version of the Ginkgo library with a single Ginkgo CLI that is currently
unsupported.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]