Commit 5a2dd73
Bump github.com/stretchr/testify from 1.10.0 to 1.11.1 (#6270)
* Bump github.com/stretchr/testify from 1.10.0 to 1.11.0
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]>
* Fix unit tests that improperly use assert.Equal()
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]>
* Fix other usages of Eventually()
Signed-off-by: Ryan Turner <[email protected]>
* Update to github.com/stretchr/testify v1.11.1
Signed-off-by: Ryan Turner <[email protected]>
* Use EventuallyWithTf()
Signed-off-by: Ryan Turner <[email protected]>
* Use EventuallyWithTf()
Signed-off-by: Ryan Turner <[email protected]>
* go mod tidy
Signed-off-by: Ryan Turner <[email protected]>
* Fix other usages of Eventually()
Signed-off-by: Ryan Turner <[email protected]>
---------
Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Ryan Turner <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Ryan Turner <[email protected]>
Co-authored-by: Ryan Turner <[email protected]>1 parent 9108e48 commit 5a2dd73
File tree
4 files changed
+50
-40
lines changed- pkg/server
- datastore/sqlstore
- plugin/notifier/k8sbundle
4 files changed
+50
-40
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1713 | 1713 | | |
1714 | 1714 | | |
1715 | 1715 | | |
1716 | | - | |
1717 | | - | |
| 1716 | + | |
| 1717 | + | |
1718 | 1718 | | |
1719 | 1719 | | |
1720 | 1720 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1754 | 1754 | | |
1755 | 1755 | | |
1756 | 1756 | | |
1757 | | - | |
| 1757 | + | |
1758 | 1758 | | |
1759 | | - | |
| 1759 | + | |
| 1760 | + | |
1760 | 1761 | | |
1761 | | - | |
1762 | | - | |
| 1762 | + | |
| 1763 | + | |
| 1764 | + | |
1763 | 1765 | | |
1764 | 1766 | | |
1765 | 1767 | | |
| |||
1777 | 1779 | | |
1778 | 1780 | | |
1779 | 1781 | | |
1780 | | - | |
| 1782 | + | |
1781 | 1783 | | |
1782 | | - | |
1783 | | - | |
1784 | | - | |
| 1784 | + | |
| 1785 | + | |
| 1786 | + | |
| 1787 | + | |
1785 | 1788 | | |
1786 | 1789 | | |
1787 | 1790 | | |
1788 | 1791 | | |
1789 | 1792 | | |
1790 | 1793 | | |
1791 | 1794 | | |
1792 | | - | |
| 1795 | + | |
1793 | 1796 | | |
1794 | | - | |
1795 | | - | |
1796 | | - | |
| 1797 | + | |
| 1798 | + | |
| 1799 | + | |
| 1800 | + | |
1797 | 1801 | | |
1798 | 1802 | | |
1799 | 1803 | | |
1800 | 1804 | | |
1801 | | - | |
| 1805 | + | |
1802 | 1806 | | |
1803 | | - | |
1804 | | - | |
1805 | | - | |
| 1807 | + | |
| 1808 | + | |
| 1809 | + | |
| 1810 | + | |
1806 | 1811 | | |
1807 | 1812 | | |
1808 | 1813 | | |
1809 | 1814 | | |
1810 | | - | |
| 1815 | + | |
1811 | 1816 | | |
1812 | | - | |
1813 | | - | |
1814 | | - | |
| 1817 | + | |
| 1818 | + | |
| 1819 | + | |
| 1820 | + | |
1815 | 1821 | | |
1816 | 1822 | | |
1817 | 1823 | | |
1818 | | - | |
| 1824 | + | |
1819 | 1825 | | |
1820 | | - | |
1821 | | - | |
1822 | | - | |
| 1826 | + | |
| 1827 | + | |
| 1828 | + | |
| 1829 | + | |
1823 | 1830 | | |
1824 | 1831 | | |
1825 | 1832 | | |
| |||
4395 | 4402 | | |
4396 | 4403 | | |
4397 | 4404 | | |
4398 | | - | |
4399 | | - | |
4400 | | - | |
| 4405 | + | |
| 4406 | + | |
| 4407 | + | |
| 4408 | + | |
4401 | 4409 | | |
4402 | | - | |
4403 | | - | |
| 4410 | + | |
| 4411 | + | |
| 4412 | + | |
4404 | 4413 | | |
4405 | 4414 | | |
4406 | 4415 | | |
| |||
5456 | 5465 | | |
5457 | 5466 | | |
5458 | 5467 | | |
5459 | | - | |
5460 | | - | |
| 5468 | + | |
| 5469 | + | |
5461 | 5470 | | |
5462 | 5471 | | |
5463 | 5472 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
255 | 255 | | |
256 | 256 | | |
257 | 257 | | |
258 | | - | |
| 258 | + | |
259 | 259 | | |
260 | | - | |
261 | | - | |
| 260 | + | |
| 261 | + | |
262 | 262 | | |
263 | 263 | | |
264 | 264 | | |
| |||
287 | 287 | | |
288 | 288 | | |
289 | 289 | | |
290 | | - | |
| 290 | + | |
291 | 291 | | |
292 | | - | |
293 | | - | |
| 292 | + | |
| 293 | + | |
294 | 294 | | |
295 | 295 | | |
296 | 296 | | |
| |||
739 | 739 | | |
740 | 740 | | |
741 | 741 | | |
| 742 | + | |
742 | 743 | | |
743 | 744 | | |
744 | 745 | | |
| |||
0 commit comments