gnoi
gnoi copied to clipboard
Clarify ping RPC expected behavior
While looking into a test to verify ping behavior, I became unsure of what is expected in the PingResponse stream. It looks like it would be valid to return individual packets OR summary statistics OR both the individual packets and the summary.
This change is to clarify that summary statistics are always expected, and individual packet metrics should be returned (ie, it's probably not reasonable for a flood request).
Pull Request Test Coverage Report for Build 2586440683
- 0 of 0 changed or added relevant lines in 0 files are covered.
- No unchanged relevant lines lost coverage.
- Overall coverage remained the same at 0.0%
Totals | |
---|---|
Change from base Build 2503260217: | 0.0% |
Covered Lines: | 0 |
Relevant Lines: | 0 |
💛 - Coveralls
Since there is no option in the PingRequest
to ask for a flood ping, shall we assume that we also always request single ping stats to be returned?
The way I read the spec is that both single ping responses and summary responses are expected
A flood ping is specified by setting "interval" to -1.
my bad @bstoll I can't read