Replies: 1 comment
-
OK, I think I figured it out. Since go 1.20 one cannot initialize seed for a global random number generator using |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey,
I'm trying to achieve the repeatable results with
--seed
parameter. If I undersand correctly, toxicity of a given proxy is applied when foloowing condition is met:now, for Seed = 1,
rand.Float32()
gives0.6046603
, so for a toxicity smaller then that is should always go through NoopToxic, however that does not seem to be a case.I've configured a simple http proxy, and gave it the following toxic:
and I'd expect it to always pass, however it's not the case:

and toxiproxy logs show
what am I missing here?
Beta Was this translation helpful? Give feedback.
All reactions