Add a LogObserver()
function to Member
interface
#18519
Labels
area/observability
area/testing
priority/awaiting-more-evidence
Lowest priority. Possibly useful, but not yet enough support to actually get it done.
type/feature
What would you like to be added?
Add a
LogObserver()
function toMember
interface.etcd/tests/framework/interfaces/interface.go
Lines 39 to 43 in 4bb9392
It may look something like this:
Why is this needed?
I was writing a test that waits for events by watching logs. Then I noticed both e2e test and integration test have their own log observer implementations.
etcd/tests/framework/integration/cluster.go
Lines 549 to 589 in 4bb9392
etcd/tests/framework/e2e/etcd_process.go
Lines 45 to 69 in 4bb9392
Would it be a good idea to add a
LogObserver()
function toMember
interface? This way, I can rewrite the test to work for both e2e and integration tests.The text was updated successfully, but these errors were encountered: