Skip to content

Commit

Permalink
Update go.mod and go.sum to latest version from networkservicemesh/sd…
Browse files Browse the repository at this point in the history
…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
NSMBot committed May 11, 2021
1 parent ec8ecf8 commit 0e7a466
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/edwarnicke/grpcfd v0.1.0
github.com/kelseyhightower/envconfig v1.4.0
github.com/networkservicemesh/api v0.0.0-20210509180413-5753c9f30588
github.com/networkservicemesh/sdk v0.0.0-20210511111259-ac8b8656d69a
github.com/networkservicemesh/sdk v0.0.0-20210511142251-93d252947219
github.com/pkg/errors v0.9.1
github.com/sirupsen/logrus v1.7.0
github.com/spiffe/go-spiffe/v2 v2.0.0-alpha.4.0.20200528145730-dc11d0c74e85
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ github.com/nats-io/nuid v1.0.1/go.mod h1:19wcPz3Ph3q0Jbyiqsd0kePYG7A95tJPxeL+1OS
github.com/nats-io/stan.go v0.6.0/go.mod h1:eIcD5bi3pqbHT/xIIvXMwvzXYElgouBvaVRftaE+eac=
github.com/networkservicemesh/api v0.0.0-20210509180413-5753c9f30588 h1:DZZpus9B5AU8nADoDz4Pne6yRqOBV1/eToenIg+djM8=
github.com/networkservicemesh/api v0.0.0-20210509180413-5753c9f30588/go.mod h1:B6meq/SWjWR6bGXZdXPfbOeaBK+T1JayLdtEJQCsXKU=
github.com/networkservicemesh/sdk v0.0.0-20210511111259-ac8b8656d69a h1:6vlk8g2lKeoudxr6fy/IP1syjdeCzXnqL7mAUR0R8pM=
github.com/networkservicemesh/sdk v0.0.0-20210511111259-ac8b8656d69a/go.mod h1:hywWppzbWM9nfa2GyxCiLz/RtZOZEjrSWl8jTQniV9o=
github.com/networkservicemesh/sdk v0.0.0-20210511142251-93d252947219 h1:ze74m6A6s2E10QKL+cQz7Z8BNYMwuX8XOQlcHT8uWO8=
github.com/networkservicemesh/sdk v0.0.0-20210511142251-93d252947219/go.mod h1:hywWppzbWM9nfa2GyxCiLz/RtZOZEjrSWl8jTQniV9o=
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e h1:fD57ERR4JtEqsWbfPhv4DMiApHyliiK5xCTNVSPiaAs=
github.com/niemeyer/pretty v0.0.0-20200227124842-a10e7caefd8e/go.mod h1:zD1mROLANZcx1PVRCS0qkT7pwLkGfwJo4zjcN/Tysno=
github.com/olekukonko/tablewriter v0.0.1/go.mod h1:vsDQFd/mU46D+Z4whnwzcISnGGzXWMclvtLoiIKAKIo=
Expand Down

0 comments on commit 0e7a466

Please sign in to comment.