Skip to content

Commit 7cf381e

Browse files
committed
reword the limitation around injectable errors
1 parent f17728e commit 7cf381e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/client/fake/doc.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +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
31+
- this client does not have a way to inject specific errors to test handled vs. unhandled errors
3232
- possible locking issues when using fake client and not the actual client
3333
- there is some support for sub resources which can cause issues with tests if you're trying to update
3434
e.g. metadata and status in the same reconcile

0 commit comments

Comments
 (0)