Commit 537a381
Update module github.com/stretchr/testify to v1.11.0 (open-telemetry#13713)
This PR contains the following updates:
| Package | Change | Age | Confidence |
|---|---|---|---|
|
[github.com/stretchr/testify](https://redirect.github.com/stretchr/testify)
| `v1.10.0` -> `v1.11.0` |
[](https://docs.renovatebot.com/merge-confidence/)
|
[](https://docs.renovatebot.com/merge-confidence/)
|
---
> [!WARNING]
> Some dependencies could not be looked up. Check the Dependency
Dashboard for more information.
---
### Release Notes
<details>
<summary>stretchr/testify (github.com/stretchr/testify)</summary>
###
[`v1.11.0`](https://redirect.github.com/stretchr/testify/releases/tag/v1.11.0)
[Compare
Source](https://redirect.github.com/stretchr/testify/compare/v1.10.0...v1.11.0)
#### What's Changed
##### Functional Changes
v1.11.0 Includes a number of performance improvements.
- Call stack perf change for CallerInfo by
[@&open-telemetry#8203;mikeauclair](https://redirect.github.com/mikeauclair) in
[#&open-telemetry#8203;1614](https://redirect.github.com/stretchr/testify/pull/1614)
- Lazily render mock diff output on successful match by
[@&open-telemetry#8203;mikeauclair](https://redirect.github.com/mikeauclair) in
[#&open-telemetry#8203;1615](https://redirect.github.com/stretchr/testify/pull/1615)
- assert: check early in Eventually, EventuallyWithT, and Never by
[@&open-telemetry#8203;cszczepaniak](https://redirect.github.com/cszczepaniak) in
[#&open-telemetry#8203;1427](https://redirect.github.com/stretchr/testify/pull/1427)
- assert: add IsNotType by
[@&open-telemetry#8203;bartventer](https://redirect.github.com/bartventer) in
[#&open-telemetry#8203;1730](https://redirect.github.com/stretchr/testify/pull/1730)
- assert.JSONEq: shortcut if same strings by
[@&open-telemetry#8203;dolmen](https://redirect.github.com/dolmen) in
[#&open-telemetry#8203;1754](https://redirect.github.com/stretchr/testify/pull/1754)
- assert.YAMLEq: shortcut if same strings by
[@&open-telemetry#8203;dolmen](https://redirect.github.com/dolmen) in
[#&open-telemetry#8203;1755](https://redirect.github.com/stretchr/testify/pull/1755)
- assert: faster and simpler isEmpty using reflect.Value.IsZero by
[@&open-telemetry#8203;dolmen](https://redirect.github.com/dolmen) in
[#&open-telemetry#8203;1761](https://redirect.github.com/stretchr/testify/pull/1761)
- suite: faster methods filtering (internal refactor) by
[@&open-telemetry#8203;dolmen](https://redirect.github.com/dolmen) in
[#&open-telemetry#8203;1758](https://redirect.github.com/stretchr/testify/pull/1758)
##### Fixes
- assert.ErrorAs: log target type by
[@&open-telemetry#8203;craig65535](https://redirect.github.com/craig65535) in
[#&open-telemetry#8203;1345](https://redirect.github.com/stretchr/testify/pull/1345)
- Fix failure message formatting for Positive and Negative asserts in
[#&open-telemetry#8203;1062](https://redirect.github.com/stretchr/testify/pull/1062)
- Improve ErrorIs message when error is nil but an error was expected by
[@&open-telemetry#8203;tsioftas](https://redirect.github.com/tsioftas) in
[#&open-telemetry#8203;1681](https://redirect.github.com/stretchr/testify/pull/1681)
- fix Subset/NotSubset when calling with mixed input types by
[@&open-telemetry#8203;siliconbrain](https://redirect.github.com/siliconbrain) in
[#&open-telemetry#8203;1729](https://redirect.github.com/stretchr/testify/pull/1729)
- Improve ErrorAs failure message when error is nil by
[@&open-telemetry#8203;ccoVeille](https://redirect.github.com/ccoVeille) in
[#&open-telemetry#8203;1734](https://redirect.github.com/stretchr/testify/pull/1734)
- mock.AssertNumberOfCalls: improve error msg by
[@&open-telemetry#8203;3scalation](https://redirect.github.com/3scalation) in
[#&open-telemetry#8203;1743](https://redirect.github.com/stretchr/testify/pull/1743)
##### Documentation, Build & CI
- docs: Fix typo in README by
[@&open-telemetry#8203;alexandear](https://redirect.github.com/alexandear) in
[#&open-telemetry#8203;1688](https://redirect.github.com/stretchr/testify/pull/1688)
- Replace deprecated io/ioutil with io and os by
[@&open-telemetry#8203;alexandear](https://redirect.github.com/alexandear) in
[#&open-telemetry#8203;1684](https://redirect.github.com/stretchr/testify/pull/1684)
- Document consequences of calling t.FailNow() by
[@&open-telemetry#8203;greg0ire](https://redirect.github.com/greg0ire) in
[#&open-telemetry#8203;1710](https://redirect.github.com/stretchr/testify/pull/1710)
- chore: update docs for Unset
[#&open-telemetry#8203;1621](https://redirect.github.com/stretchr/testify/issues/1621)
by [@&open-telemetry#8203;techfg](https://redirect.github.com/techfg) in
[#&open-telemetry#8203;1709](https://redirect.github.com/stretchr/testify/pull/1709)
- README: apply gofmt to examples by
[@&open-telemetry#8203;alexandear](https://redirect.github.com/alexandear) in
[#&open-telemetry#8203;1687](https://redirect.github.com/stretchr/testify/pull/1687)
- refactor: use %q and %T to simplify fmt.Sprintf by
[@&open-telemetry#8203;alexandear](https://redirect.github.com/alexandear) in
[#&open-telemetry#8203;1674](https://redirect.github.com/stretchr/testify/pull/1674)
- Propose Christophe Colombier (ccoVeille) as approver by
[@&open-telemetry#8203;brackendawson](https://redirect.github.com/brackendawson) in
[#&open-telemetry#8203;1716](https://redirect.github.com/stretchr/testify/pull/1716)
- Update documentation for the Error function in assert or require
package by [@&open-telemetry#8203;architagr](https://redirect.github.com/architagr) in
[#&open-telemetry#8203;1675](https://redirect.github.com/stretchr/testify/pull/1675)
- assert: remove deprecated build constraints by
[@&open-telemetry#8203;alexandear](https://redirect.github.com/alexandear) in
[#&open-telemetry#8203;1671](https://redirect.github.com/stretchr/testify/pull/1671)
- assert: apply gofumpt to internal test suite by
[@&open-telemetry#8203;ccoVeille](https://redirect.github.com/ccoVeille) in
[#&open-telemetry#8203;1739](https://redirect.github.com/stretchr/testify/pull/1739)
- CI: fix shebang in .ci.\*.sh scripts by
[@&open-telemetry#8203;dolmen](https://redirect.github.com/dolmen) in
[#&open-telemetry#8203;1746](https://redirect.github.com/stretchr/testify/pull/1746)
- assert,require: enable parallel testing on (almost) all top tests by
[@&open-telemetry#8203;dolmen](https://redirect.github.com/dolmen) in
[#&open-telemetry#8203;1747](https://redirect.github.com/stretchr/testify/pull/1747)
- suite.Passed: add one more status test report by
[@&open-telemetry#8203;Ararsa-Derese](https://redirect.github.com/Ararsa-Derese) in
[#&open-telemetry#8203;1706](https://redirect.github.com/stretchr/testify/pull/1706)
- Add Helper() method in internal mocks and assert.CollectT by
[@&open-telemetry#8203;dolmen](https://redirect.github.com/dolmen) in
[#&open-telemetry#8203;1423](https://redirect.github.com/stretchr/testify/pull/1423)
- assert.Same/NotSame: improve usage of Sprintf by
[@&open-telemetry#8203;ccoVeille](https://redirect.github.com/ccoVeille) in
[#&open-telemetry#8203;1742](https://redirect.github.com/stretchr/testify/pull/1742)
- mock: enable parallel testing on internal testsuite by
[@&open-telemetry#8203;dolmen](https://redirect.github.com/dolmen) in
[#&open-telemetry#8203;1756](https://redirect.github.com/stretchr/testify/pull/1756)
- suite: cleanup use of 'testing' internals at runtime by
[@&open-telemetry#8203;dolmen](https://redirect.github.com/dolmen) in
[#&open-telemetry#8203;1751](https://redirect.github.com/stretchr/testify/pull/1751)
- assert: check test failure message for Empty and NotEmpty by
[@&open-telemetry#8203;ccoVeille](https://redirect.github.com/ccoVeille) in
[#&open-telemetry#8203;1745](https://redirect.github.com/stretchr/testify/pull/1745)
- deps: fix dependency cycle with objx (again) by
[@&open-telemetry#8203;dolmen](https://redirect.github.com/dolmen) in
[#&open-telemetry#8203;1567](https://redirect.github.com/stretchr/testify/pull/1567)
- assert.Empty: comprehensive doc of "Empty"-ness rules by
[@&open-telemetry#8203;dolmen](https://redirect.github.com/dolmen) in
[#&open-telemetry#8203;1753](https://redirect.github.com/stretchr/testify/pull/1753)
- doc: improve godoc of top level 'testify' package by
[@&open-telemetry#8203;dolmen](https://redirect.github.com/dolmen) in
[#&open-telemetry#8203;1760](https://redirect.github.com/stretchr/testify/pull/1760)
- assert.ErrorAs: simplify retrieving the type name by
[@&open-telemetry#8203;ccoVeille](https://redirect.github.com/ccoVeille) in
[#&open-telemetry#8203;1740](https://redirect.github.com/stretchr/testify/pull/1740)
- assert.EqualValues: improve test coverage to 100% by
[@&open-telemetry#8203;dolmen](https://redirect.github.com/dolmen) in
[#&open-telemetry#8203;1763](https://redirect.github.com/stretchr/testify/pull/1763)
- suite.Run: simplify running of Setup/TeardownSuite by
[@&open-telemetry#8203;renzoarreaza](https://redirect.github.com/renzoarreaza) in
[#&open-telemetry#8203;1769](https://redirect.github.com/stretchr/testify/pull/1769)
- assert.CallerInfo: micro optimization by using LastIndexByte by
[@&open-telemetry#8203;dolmen](https://redirect.github.com/dolmen) in
[#&open-telemetry#8203;1767](https://redirect.github.com/stretchr/testify/pull/1767)
- assert.CallerInfo: micro cleanup by
[@&open-telemetry#8203;dolmen](https://redirect.github.com/dolmen) in
[#&open-telemetry#8203;1768](https://redirect.github.com/stretchr/testify/pull/1768)
- assert: refactor Test*FileExists and Test*DirExists tests to enable
parallel testing by [@&open-telemetry#8203;dolmen](https://redirect.github.com/dolmen)
in
[#&open-telemetry#8203;1766](https://redirect.github.com/stretchr/testify/pull/1766)
- suite.Run: refactor handling of stats for improved readability by
[@&open-telemetry#8203;dolmen](https://redirect.github.com/dolmen) in
[#&open-telemetry#8203;1764](https://redirect.github.com/stretchr/testify/pull/1764)
- tests: improve captureTestingT helper by
[@&open-telemetry#8203;ccoVeille](https://redirect.github.com/ccoVeille) in
[#&open-telemetry#8203;1741](https://redirect.github.com/stretchr/testify/pull/1741)
- build(deps): bump actions/checkout from 4 to 5 by
[@&open-telemetry#8203;dependabot](https://redirect.github.com/dependabot)\[bot] in
[#&open-telemetry#8203;1778](https://redirect.github.com/stretchr/testify/pull/1778)
#### New Contributors
- [@&open-telemetry#8203;greg0ire](https://redirect.github.com/greg0ire) made their
first contribution in
[#&open-telemetry#8203;1710](https://redirect.github.com/stretchr/testify/pull/1710)
- [@&open-telemetry#8203;techfg](https://redirect.github.com/techfg) made their first
contribution in
[#&open-telemetry#8203;1709](https://redirect.github.com/stretchr/testify/pull/1709)
- [@&open-telemetry#8203;mikeauclair](https://redirect.github.com/mikeauclair) made
their first contribution in
[#&open-telemetry#8203;1614](https://redirect.github.com/stretchr/testify/pull/1614)
- [@&open-telemetry#8203;cszczepaniak](https://redirect.github.com/cszczepaniak) made
their first contribution in
[#&open-telemetry#8203;1427](https://redirect.github.com/stretchr/testify/pull/1427)
- [@&open-telemetry#8203;architagr](https://redirect.github.com/architagr) made their
first contribution in
[#&open-telemetry#8203;1675](https://redirect.github.com/stretchr/testify/pull/1675)
- [@&open-telemetry#8203;tsioftas](https://redirect.github.com/tsioftas) made their
first contribution in
[#&open-telemetry#8203;1681](https://redirect.github.com/stretchr/testify/pull/1681)
- [@&open-telemetry#8203;siliconbrain](https://redirect.github.com/siliconbrain) made
their first contribution in
[#&open-telemetry#8203;1729](https://redirect.github.com/stretchr/testify/pull/1729)
- [@&open-telemetry#8203;bartventer](https://redirect.github.com/bartventer) made
their first contribution in
[#&open-telemetry#8203;1730](https://redirect.github.com/stretchr/testify/pull/1730)
- [@&open-telemetry#8203;Ararsa-Derese](https://redirect.github.com/Ararsa-Derese)
made their first contribution in
[#&open-telemetry#8203;1706](https://redirect.github.com/stretchr/testify/pull/1706)
- [@&open-telemetry#8203;renzoarreaza](https://redirect.github.com/renzoarreaza) made
their first contribution in
[#&open-telemetry#8203;1769](https://redirect.github.com/stretchr/testify/pull/1769)
- [@&open-telemetry#8203;3scalation](https://redirect.github.com/3scalation) made
their first contribution in
[#&open-telemetry#8203;1743](https://redirect.github.com/stretchr/testify/pull/1743)
**Full Changelog**:
<stretchr/testify@v1.10.0...v1.11.0>
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "on tuesday" (UTC), Automerge - At any
time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you
are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the
rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update
again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check
this box
---
This PR was generated by [Mend Renovate](https://mend.io/renovate/).
View the [repository job
log](https://developer.mend.io/github/open-telemetry/opentelemetry-collector).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiI0MS44Mi43IiwidXBkYXRlZEluVmVyIjoiNDEuODIuNyIsInRhcmdldEJyYW5jaCI6Im1haW4iLCJsYWJlbHMiOlsiZGVwZW5kZW5jaWVzIiwicmVub3ZhdGVib3QiXX0=-->
---------
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: otelbot <197425009+otelbot@users.noreply.github.com>1 parent 8429887 commit 537a381
170 files changed
Lines changed: 258 additions & 258 deletions
File tree
- client
- cmd
- builder
- mdatagen
- otelcorecol
- component
- componentstatus
- componenttest
- config
- configauth
- configcompression
- configgrpc
- confighttp
- xconfighttp
- configmiddleware
- confignet
- configopaque
- configoptional
- configretry
- configtelemetry
- configtls
- confmap
- internal/e2e
- provider
- envprovider
- fileprovider
- httpprovider
- httpsprovider
- yamlprovider
- xconfmap
- connector
- connectortest
- forwardconnector
- xconnector
- consumer
- consumererror
- xconsumererror
- consumertest
- xconsumer
- exporter
- debugexporter
- exporterhelper/xexporterhelper
- exportertest
- nopexporter
- otlpexporter
- otlphttpexporter
- xexporter
- extension
- extensionauth
- extensionauthtest
- extensioncapabilities
- extensionmiddleware
- extensionmiddlewaretest
- extensiontest
- memorylimiterextension
- xextension
- zpagesextension
- featuregate
- filter
- internal
- e2e
- fanoutconsumer
- memorylimiter
- telemetry
- otelcol
- otelcoltest
- pdata
- pprofile
- testdata
- xpdata
- pipeline
- xpipeline
- processor
- batchprocessor
- memorylimiterprocessor
- processorhelper
- xprocessorhelper
- processortest
- xprocessor
- receiver
- nopreceiver
- otlpreceiver
- receiverhelper
- receivertest
- xreceiver
- scraper
- scraperhelper
- scrapertest
- service
- hostcapabilities
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
76 | 76 | | |
77 | 77 | | |
78 | 78 | | |
79 | | - | |
| 79 | + | |
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments