ssh: synchronize unexpected response test Wait for an ordered channel request after sending the unsolicited response flood. This ensures that the client mux has discarded the entire flood before SendRequest opens its response gate, avoiding confusion between an in-flight unsolicited response and the expected reply. This fixes TestChannelUnexpectedResponsesDiscarded from flaking, where otherwise running 1000000 iterations of the test with GOMAXPROCS=16 produced ~15 distinct failures of the form "expected success reply". Change-Id: Ic1125c1f44bd919a5cf32b889d331bbc94c06c25 Reviewed-on: https://go-review.googlesource.com/c/crypto/+/817140 Reviewed-by: Neal Patel <neal@golang.org> LUCI-TryBot-Result: golang-scoped@luci-project-accounts.iam.gserviceaccount.com <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Neal Patel <nealpatel@google.com> Reviewed-by: Nicola Murino <nicola.murino@gmail.com> Auto-Submit: Daniel McCarney <daniel@binaryparadox.net> Reviewed-by: David Chase <drchase@google.com>
This repository holds supplementary Go cryptography packages.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://go.dev/doc/contribute.
The git repository is https://go.googlesource.com/crypto.
The main issue tracker for the crypto repository is located at https://go.dev/issues. Prefix your issue with “x/crypto:” in the subject line, so it is easy to find.
Note that contributions to the cryptography package receive additional scrutiny due to their sensitive nature. Patches may take longer than normal to receive feedback.