Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
Filepath imported 2 times causing E2E compilation issue.
GitHub Issues
List the GitHub issues impacted by this PR:
Checklist:
How Has This Been Tested?
This compilation issue was coming before
[root@e2e]# ./run-e2e-test.sh --unity --cert-csi=/root/cert-csi/cert-csi --dellctl=/root/dellctl --karavictl=/root/karavictl
go: downloading golang.org/x/sys v0.28.0
go: downloading golang.org/x/term v0.27.0
go: downloading golang.org/x/text v0.21.0
go: downloading golang.org/x/sync v0.10.0
go: downloading golang.org/x/crypto v0.31.0
/root/taran/csm-operator/tests/e2e
Failed to compile e2e:
github.com/dell/csm-operator/tests/e2e/steps
steps/steps_def.go:30:2: filepath redeclared in this block
steps/steps_def.go:28:2: other declaration of filepath
steps/steps_def.go:30:2: "path/filepath" imported and not used
Ginkgo ran 1 suite in 1m10.775356939s
Test Suite Failed
After fixing
Executed E2E after that compilation issue is not coming
=================================================================================
Random Seed: 1734094408
Will run 1 of 1 specs
[BeforeSuite]
/root/taran/csm-operator/tests/e2e/e2e_test.go:98
STEP: Getting test environment variables @ 12/13/24 07:53:44.753
STEP: [unity] @ 12/13/24 07:53:44.753
STEP: Reading values file @ 12/13/24 07:53:44.753
STEP: Getting a k8s client @ 12/13/24 07:53:44.756
[BeforeSuite] PASSED [0.008 seconds]