-
Notifications
You must be signed in to change notification settings - Fork 80
Add race detector to go test flags #256
Comments
Hi @hongchaodeng, there is a It looks like it's passed to the invocation of
|
Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
@jbw976 Hi, it seems the unit test don't support race flag https://github.com/upbound/build/blob/master/makelib/golang.mk#L174
How can we fix this ? \cc @hasheddan @negz |
I suggest opening a PR against upbound/build to make the covermode configurable. Count and atomic are similar, but count is faster when the race detector is not desired. |
@negz I'm not very familiar with makefile shell, could you help add that PR on upbound/build, thanks! |
I have tried to send a PR upbound/build#125 , please help review thanks @negz |
…r legacy chart Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
…r legacy chart Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com>
…r legacy chart Signed-off-by: 天元 <jianbo.sjb@alibaba-inc.com> Signed-off-by: wangyike <wangyike.wyk@alibaba-inc.com>
We are trying to add
-race
to go test in OAM related projects.We haven't figured out how to do it in the crossplane build scripts. Creating this issue to gather help.
The text was updated successfully, but these errors were encountered: