weave-gitops icon indicating copy to clipboard operation
weave-gitops copied to clipboard

Race condition in unit tests

Open ozamosi opened this issue 3 years ago • 1 comments

The unit tests are more and more often failing with an error like FATAL [core] grpc: Server.RegisterService after Server.Serve for "wego_server.v1.Applications" - see for example this run

The test suite shouldn't randomly fail.

ozamosi avatar Aug 03 '22 16:08 ozamosi

I can confirm it, especially during the last week.

opudrovs avatar Aug 05 '22 12:08 opudrovs

I ran the racy test locally approximately 100 times, and it wouldn't fail - yet it keeps happening in CI much more regularly.

ozamosi avatar Sep 21 '22 16:09 ozamosi

This seems to have been related to profiles code, and that code isn't there any more.

ozamosi avatar Oct 12 '22 17:10 ozamosi