Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update go.mod and go.sum to latest version from networkservicemesh/sd…
…k@main networkservicemesh/sdk# networkservicemesh/sdk PR link: https://github.com/networkservicemesh/sdk/pull/ networkservicemesh/sdk commit message: commit 93d252947219d952fd428e98e86e63ea17550579 Author: Uzlov Danil <36223296+d-uzlov@users.noreply.github.com> Date: Tue May 11 21:22:51 2021 +0700 Add onidle chain element (#908) * add endpointtimeout chain element Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * fix TestEndpointTimeout_ContextCancel instability Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * make endpointTimeoutServer track connections, fix concurrency issues Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * rename package endpointtimeout to idlenotifier Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * fix formatting Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * add HoldingActiveRequest test, clean code Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * fix race in *endpointTimeoutServer) Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * add TestIdleNotifier_FailedRequest Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * fix missing error check Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * make idlenotifier.notify action argument mandatory Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * rename package idlenotifier to onidle Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * fix TestIdleNotifier_ContextCancel instability Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * clean code Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * fix race in onIdleServer Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * fix timer leak Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * use require.Eventually + goleak.Find instead of time.Sleep in TestIdleNotifier_ContextCancel Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * remove excessive removeConnection call Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * use simple map instead of sync.Map in onIdleServer Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * adjuct comments Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * refactor timer handling Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * add TestIdleNotifier_RequestAfterExpire test Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * remove unneeded check from TestIdleNotifier_ContextCancel Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * fix non-american "cancelled" spelling error Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * add extra check for context error Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * increase check timeout from 50ms to 100ms Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * extract notify callback to be not under the mutex Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> * apply suggestions from code review Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru> Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
- Loading branch information