You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my machine, with some load, TestAgent_ReloadConfigAndKeepChecksStatus is failing 1/3 of time
because interval is low (1s). Remove the first test for critical as it is tested elsewhere.
Setting the interval to 3s of interval also fixes the issue but slow down all tests
This will avoid test to be unstable and fixhashicorp#7425.
test protocal on my machine to ensure it is not a bigger problem:
```shell
while true
do
go clean -testcache
go test -timeout 30s github.com/hashicorp/consul/agent -run '^TestAgent_ReloadConfigAndKeepChecksStatus$'
done
```
=> with 1s interval => fails 1/3 of time
=> with 3s interval => never fails
go test -timeout 30s github.com/hashicorp/consul/agent -run ^(TestAgent_ReloadConfigAndKeepChecksStatus)$
@rboyer to me, this is just a timing issue, I did put a fix in #7426 (with how I tested it)
Setting the Interval to 3s => not any error, the initial test was too agressive (and not really useful), so removed the check for Critical instead and kept 1s to avoid having too long run
https://circleci.com/gh/hashicorp/consul/139535
I have a suspicion that #7345 restored a racy behavior that had previously been fixed, while it was fixing a different thing that regressed.
The text was updated successfully, but these errors were encountered: