rootfs / node-fencing

Apache License 2.0
5 stars 6 forks source link

[RFE] introduce integration tests #43

Open ingvagabund opened 6 years ago

ingvagabund commented 6 years ago

Build fake cluster to test the implementation.Run the tests over each PR via Travis.

We can fake nodes and other resources. Check https://github.com/ingvagabund/node-auto-repair/blob/master/main.go#L437 for a fake client set.

Currently, the fake client set does not emulate the Patch request: https://github.com/kubernetes/client-go/issues/364.

TPB