MCPcopy
hub / github.com/IBM/sarama / resetProxies

Function resetProxies

functional_test.go:464–468  ·  view source on GitHub ↗
(t testing.TB)

Source from the content-addressed store, hash-verified

462}
463
464func resetProxies(t testing.TB) {
465 if err := FunctionalTestEnv.ToxiproxyClient.ResetState(); err != nil {
466 t.Error(err)
467 }
468}
469
470func SaveProxy(t *testing.T, px string) {
471 if _, err := FunctionalTestEnv.Proxies[px].Save(); err != nil {

Calls 2

ResetStateMethod · 0.80
ErrorMethod · 0.65

Tested by

no test coverage detected