Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Aug 26, 2025

Bumps github.com/stretchr/testify from 1.10.0 to 1.11.1.

Release notes

Sourced from github.com/stretchr/testify's releases.

v1.11.0

What's Changed

Functional Changes

v1.11.0 Includes a number of performance improvements.

Fixes

Documentation, Build & CI

... (truncated)

Commits
  • b7801fb Merge pull request #1778 from stretchr/dependabot/github_actions/actions/chec...
  • 69831f3 build(deps): bump actions/checkout from 4 to 5
  • a53be35 Improve captureTestingT helper
  • aafb604 mock: improve formatting of error message
  • 7218e03 improve error msg
  • 929a212 Merge pull request #1758 from stretchr/dolmen/suite-faster-method-filtering
  • bc7459e suite: faster filtering of methods (-testify.m)
  • 7d37b5c suite: refactor methodFilter
  • c58bc90 Merge pull request #1764 from stretchr/dolmen/suite-refactor-stats-for-readab...
  • 87101a6 suite.Run: refactor handling of stats
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [github.com/stretchr/testify](https://github.com/stretchr/testify) from 1.10.0 to 1.11.0.
- [Release notes](https://github.com/stretchr/testify/releases)
- [Commits](stretchr/testify@v1.10.0...v1.11.0)

---
updated-dependencies:
- dependency-name: github.com/stretchr/testify
  dependency-version: 1.11.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 26, 2025
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Aug 26, 2025
A couple tests are using `assert.Equal()` inside a
`require.Eventually()`. `assert.Equal()` will cause the test to fail if
the assertion is not met. This conflicts with the intention of retrying
the equality check in the test.

These tests started failing due to a new behavior in
`github.com/stretchr/testify` v1.11.0 that started executing the
function passed to `require.Eventually()`/`assert.Eventually()` without
any initial delay: stretchr/testify#1427

The tests were previously passing by chance due to the timing of how
long `github.com/stretchr/testify` was waiting to try the function in
`Eventually()` for the first time.

Signed-off-by: Ryan Turner <[email protected]>
amartinezfayo
amartinezfayo previously approved these changes Aug 26, 2025
@rturner3 rturner3 added this to the 1.13.1 milestone Aug 26, 2025
@dependabot @github
Copy link
Contributor Author

dependabot bot commented on behalf of github Aug 28, 2025

A newer version of github.com/stretchr/testify exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.

@rturner3 rturner3 changed the title Bump github.com/stretchr/testify from 1.10.0 to 1.11.0 Bump github.com/stretchr/testify from 1.10.0 to 1.11.1 Aug 28, 2025
waitForInformerWatcher(t, test.webhookClient.watcherStarted)
webhook := newMutatingWebhook(t, test.webhookClient.Interface, "spire-webhook", "")

require.Eventually(t, func() bool {
Copy link
Collaborator

@sorindumitru sorindumitru Aug 28, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's also the option of using EventuallyWithT. It has an assert.CollectT parameter that I think is usable with require.X.

Signed-off-by: Ryan Turner <[email protected]>
Signed-off-by: Ryan Turner <[email protected]>
Signed-off-by: Ryan Turner <[email protected]>
@sorindumitru
Copy link
Collaborator

Looks like in TestNodeSelectors we call s.getNodeSelectors() which uses s.Require().NoError(). Seems like the function doesn't do much apart from that error checking so maybe we can just call s.ds.GetNodeSelectors() directly?

@sorindumitru sorindumitru merged commit 5a2dd73 into main Sep 2, 2025
63 checks passed
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/stretchr/testify-1.11.0 branch September 2, 2025 05:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants