Files
coredns/test
Steve Greene fdfc9bcdd2 test: Fix rare race condition in TestZoneReload (#4617)
The following test failure for `TestZoneReload` can be observed
periodically:

`file_reload_test.go:58: Expected two RR in answer section got 2`

This failure can be consistently reproduced using the following command
(on my machine, at least):

`( cd test ; go test -v -race -run "TestZoneReload" ./... -count=500)`

test/file_reload_test.go:

Address a typo in a test failure message.

Sleep for double the file reload interval to avoid a rare
race condition between test code and the file plugin's reload code,
which is presumably a result of the time it takes to actually reload.

Signed-off-by: Stephen Greene <sgreene@redhat.com>
2021-05-11 09:11:20 +02:00
..
2020-11-11 13:30:20 +01:00
2019-10-01 07:41:29 +01:00
2020-10-30 10:27:04 +01:00
2018-07-19 16:23:06 +01:00
2020-10-15 04:19:39 -07:00
2020-10-30 10:27:04 +01:00
2020-10-30 10:27:04 +01:00
2020-09-24 18:14:41 +02:00