-
Notifications
You must be signed in to change notification settings - Fork 8
Unit testing with client-go #641
Copy link
Copy link
Open
Description
Getting some experience with RIO, having problems testing: According to to this issue, client-go will not support setting an API object timestamp returned via GetCreationTimestamp. This causes errant behavior in UpdatingObjectManager.Manage as a non-zero creation timestamp is used to indicate various states.
Of course I could test it differently. Looking through the lens of community adoption though, it becomes more difficult to "drop in" the library as a prototype and have existing unit tests show equivalent behavior.
Curious how this issue strikes others. I think upstream is wrong, that there should be some means of some pluggable behavior, but there's practically no traction on the issue in client-go for years.
EDIT: also see #589
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels