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