opentelemetry-collector/config
Jade Guiton 1f4e35d080
Fix TestLoadTLSServerConfigReload (#13716)
#### Description

This fixes a test in configtls that started failing after upgrading
testify.

The test checks that the automatic certificate reloading feature works.
However, the logic was a bit broken, and the test will fail if
`assert.Eventually` performs its first check before the reloader has had
the chance to do its job.

I believe it started failing because of [this
change](https://github.com/stretchr/testify/pull/1427) in testify,
making it so that `assert.Eventually(condition, timeout, period)`
immediately checks for `condition` instead of waiting `period` before
performing the first check.
2025-08-26 11:52:26 +00:00
..
configauth Update module github.com/stretchr/testify to v1.11.0 (#13713) 2025-08-26 09:04:39 +00:00
configcompression Update module github.com/stretchr/testify to v1.11.0 (#13713) 2025-08-26 09:04:39 +00:00
configgrpc Update module github.com/stretchr/testify to v1.11.0 (#13713) 2025-08-26 09:04:39 +00:00
confighttp Update module github.com/stretchr/testify to v1.11.0 (#13713) 2025-08-26 09:04:39 +00:00
configmiddleware Update module github.com/stretchr/testify to v1.11.0 (#13713) 2025-08-26 09:04:39 +00:00
confignet Update module github.com/stretchr/testify to v1.11.0 (#13713) 2025-08-26 09:04:39 +00:00
configopaque Update module github.com/stretchr/testify to v1.11.0 (#13713) 2025-08-26 09:04:39 +00:00
configoptional Update module github.com/stretchr/testify to v1.11.0 (#13713) 2025-08-26 09:04:39 +00:00
configretry Update module github.com/stretchr/testify to v1.11.0 (#13713) 2025-08-26 09:04:39 +00:00
configtelemetry Update module github.com/stretchr/testify to v1.11.0 (#13713) 2025-08-26 09:04:39 +00:00
configtls Fix TestLoadTLSServerConfigReload (#13716) 2025-08-26 11:52:26 +00:00