Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(tests): fix lint failures #13853

Merged
merged 1 commit into from
Nov 2, 2024
Merged

chore(tests): fix lint failures #13853

merged 1 commit into from
Nov 2, 2024

Conversation

MasonM
Copy link
Contributor

@MasonM MasonM commented Nov 2, 2024

Motivation

Every PR has been failing the make lint checked with the following error since #12960 was merged (example):

 			assert.Equal(t, 1, len(status.Outputs.Parameters))
			^
Error: test/e2e/suspend_test.go:124:4: len: use assert.Len (testifylint)
			assert.Equal(t, 1, len(status.Inputs.Parameters))
			^
make: *** [Makefile:466: lint] Error 1

This is happening due to a conflict between that PR and #13467. The latter PR was merged on August 14th, but the latest CI run for the former was on May 22nd.

Modifications

Change to use assert.Len()

Verification

Ran make lint locally

Every PR has been failing the `make lint` checked with the following
error since argoproj#12960 was merged:
```
 			assert.Equal(t, 1, len(status.Outputs.Parameters))
			^
Error: test/e2e/suspend_test.go:124:4: len: use assert.Len (testifylint)
			assert.Equal(t, 1, len(status.Inputs.Parameters))
			^
make: *** [Makefile:466: lint] Error 1
```

This is happening due to a conflict between that PR and
argoproj#13467. The latter PR was
merged on August 14th, but the latest CI run for the former
(https://github.com/argoproj/argo-workflows/actions/runs/9191558853/job/25278229097)
was on May 22nd.

Signed-off-by: Mason Malone <[email protected]>
@Joibel
Copy link
Member

Joibel commented Nov 2, 2024

Thank you for doing this

@Joibel Joibel merged commit 4742e9d into argoproj:main Nov 2, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants