Skip to content

Commit 9e9fd8d

Browse files
pgimalacpimlugjulianm
authored
[ACIX-835] Update testify to v1.11.1 (#40182)
<!-- * Contributors are encouraged to read our [CONTRIBUTING](/CONTRIBUTING.md) documentation. * Both Contributor and Reviewer Checklists are available at https://datadoghq.dev/datadog-agent/guidelines/contributing/#pull-requests. * The pull request: * Should only fix one issue or add one feature at a time. * Must update the test suite for the relevant functionality. * Should pass all status checks before being reviewed or merged. * Commit titles should be prefixed with general area of pull request's change. * Please fill the below sections if possible with relevant information or links. --> ### What does this PR do? Update testify to v1.11.1 https://github.com/stretchr/testify/releases/tag/v1.11.1 ### Motivation Benefit from stretchr/testify#1427 (`assert: check early in Eventually, EventuallyWithT, and Never`). ### Describe how you validated your changes <!-- Validate your changes before merge, ensuring that: * Your PR is tested by static / unit / integrations / e2e tests * Your PR description details which e2e tests cover your changes, if any * The PR description contains details of how you validated your changes. If you validated changes manually and not through automated tests, add context on why automated tests did not fit your changes validation. If you want additional validation by a second person, you can ask reviewers to do it. Describe how to set up an environment for manual tests in the PR description. Manual validation is expected to happen on every commit before merge. Any manual validation step should then map to an automated test. Manual validation should not substitute automation, minus exceptions not supported by test tooling yet. --> CI ### Possible Drawbacks / Trade-offs ### Additional Notes <!-- * Anything else we should know when reviewing? * Include benchmarking information here whenever possible. * Include info about alternatives that were considered and why the proposed version was chosen. --> The change means that some assertions now succeed earlier, which can make following assertions fail... I had to fix various tests and increase some timeouts to avoid that. Co-authored-by: pimlu <[email protected]> Co-authored-by: gjulianm <[email protected]>
1 parent 65da473 commit 9e9fd8d

File tree

259 files changed

+857
-754
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

259 files changed

+857
-754
lines changed

comp/api/api/def/go.mod

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,6 @@ require (
1414
golang.org/x/sys v0.36.0 // indirect
1515
)
1616

17-
// Pin github.com/stretchr/testify to v1.10.0 while waiting for https://github.com/DataDog/datadog-agent/pull/40182
18-
replace github.com/stretchr/testify => github.com/stretchr/testify v1.10.0
19-
2017
// This section was automatically added by 'dda inv modules.add-all-replace' command, do not edit manually
2118

2219
replace (

comp/api/api/def/go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

comp/core/config/go.mod

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,6 @@ require (
7575
gopkg.in/yaml.v3 v3.0.1 // indirect
7676
)
7777

78-
// Pin github.com/stretchr/testify to v1.10.0 while waiting for https://github.com/DataDog/datadog-agent/pull/40182
79-
replace github.com/stretchr/testify => github.com/stretchr/testify v1.10.0
80-
8178
// This section was automatically added by 'dda inv modules.add-all-replace' command, do not edit manually
8279

8380
replace (

comp/core/config/go.sum

Lines changed: 8 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

comp/core/configsync/go.mod

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -94,9 +94,6 @@ require (
9494
gopkg.in/yaml.v3 v3.0.1 // indirect
9595
)
9696

97-
// Pin github.com/stretchr/testify to v1.10.0 while waiting for https://github.com/DataDog/datadog-agent/pull/40182
98-
replace github.com/stretchr/testify => github.com/stretchr/testify v1.10.0
99-
10097
// This section was automatically added by 'dda inv modules.add-all-replace' command, do not edit manually
10198

10299
replace (

comp/core/configsync/go.sum

Lines changed: 8 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

comp/core/flare/types/go.mod

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ require (
1717
golang.org/x/sys v0.36.0 // indirect
1818
)
1919

20-
// Pin github.com/stretchr/testify to v1.10.0 while waiting for https://github.com/DataDog/datadog-agent/pull/40182
21-
replace github.com/stretchr/testify => github.com/stretchr/testify v1.10.0
22-
2320
// This section was automatically added by 'dda inv modules.add-all-replace' command, do not edit manually
2421

2522
replace (

comp/core/flare/types/go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

comp/core/hostname/hostnameinterface/go.mod

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,6 @@ require (
2323
gopkg.in/yaml.v3 v3.0.1 // indirect
2424
)
2525

26-
// Pin github.com/stretchr/testify to v1.10.0 while waiting for https://github.com/DataDog/datadog-agent/pull/40182
27-
replace github.com/stretchr/testify => github.com/stretchr/testify v1.10.0
28-
2926
// This section was automatically added by 'dda inv modules.add-all-replace' command, do not edit manually
3027

3128
replace (

comp/core/hostname/hostnameinterface/go.sum

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)