cryostatio / cryostatio/cryostat-operator

Replace fake client with envtest in tests

Open
#448 1 comment 0 reactions 0 assignees View on GitHub
help wanted test
Dominant language
Go
Stars
37
Forks
22
Avg merge
21h 37m
Merged PRs (30d)
22

Description

There are some cases where the fake client doesn't reflect the behaviour of a real API server. This bug contains one example: https://github.com/cryostatio/cryostat-operator/issues/447#issuecomment-1242491587. We already spin up envtest as part of our test suite, we just don't use it. This is closer to a real API server than the fake client represents. We should switch to using it.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.