Skip to content

Commit 102190d

Browse files
jemishppcf-core-services-writer
authored andcommitted
reword the limitation around injectable errors
1 parent f17728e commit 102190d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/client/fake/doc.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@ When in doubt, it's almost always better not to use this package and instead use
2828
envtest.Environment with a real client and API server.
2929
3030
Current Limitations / Known Issues with the fake Client:
31-
- this client does not use reactors so it can not be setup with detailed responses for testing
32-
- possible locking issues when using fake client and not the actual client
31+
- this client does not have a way to inject specific errors to test handled vs. unhandled errors
3332
- there is some support for sub resources which can cause issues with tests if you're trying to update
3433
e.g. metadata and status in the same reconcile
3534
- No OpeanAPI validation is performed when creating or updating objects.

0 commit comments

Comments
 (0)