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 2f267b7a5b1bcf896a579564e91c6a33ed80c37b
Author: Uzlov Danil <36223296+d-uzlov@users.noreply.github.com>
Date:   Tue May 4 16:23:47 2021 +0700

    Fix Test_WatchFile instability (#886)

    * enable testing for WatchFile

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * add checks into watchFile test

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * add proper checks for PathError

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * use unique path for every test attempt

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * clean error checking code

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * exclude ubuntu and macos from testing

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * retry mkdir on failure

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * reenable ubuntu and macos testing

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * add extra info for macos debuging

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * print each event

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * mitigate macos inconsistency

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * test

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * test

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * add more debug logs

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * clean code

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * remove sleep

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * revert from context timeout to timeout per event

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * enable all tests

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * clean code

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * extract constant for macos-specific behaviour handling

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * refactor Test_WatchFile

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * format Test_WatchFile

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * use more appropriate test checking functions

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * remove log helper function

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * expect separate create and write events

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * fix linter warning

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * use context with timeout instead of manual timeouts

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * use testing.TempDir instead of system temp dir

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * clean code

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

    * remove unnecessary stuff around testing.TempDir

    Signed-off-by: Danil Uzlov <DanilUzlov@yandex.ru>

Signed-off-by: NSMBot <nsmbot@networkservicmesh.io>
  • Loading branch information
NSMBot committed May 4, 2021
1 parent 0fd1112 commit b09db2d
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 @@ -9,7 +9,7 @@ require (
github.com/golang/protobuf v1.4.3
github.com/kelseyhightower/envconfig v1.4.0
github.com/networkservicemesh/api v0.0.0-20210502014900-961930476ee1
github.com/networkservicemesh/sdk v0.0.0-20210504060037-f7c65f99c525
github.com/networkservicemesh/sdk v0.0.0-20210504092347-2f267b7a5b1b
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-20210502014900-961930476ee1 h1:HNm4SS79Bx14cAXoLkIs/GB2KSJI+zT19ttDIu6Ofuc=
github.com/networkservicemesh/api v0.0.0-20210502014900-961930476ee1/go.mod h1:B6meq/SWjWR6bGXZdXPfbOeaBK+T1JayLdtEJQCsXKU=
github.com/networkservicemesh/sdk v0.0.0-20210504060037-f7c65f99c525 h1:BfPQ+UdfpcmFm17HQAgikJDBVhbBVfdVUZn2f6PxA5M=
github.com/networkservicemesh/sdk v0.0.0-20210504060037-f7c65f99c525/go.mod h1:uKeG+m5riQr0jllVp/vyeYJP2ruu1kyM8ejLWAKJwUo=
github.com/networkservicemesh/sdk v0.0.0-20210504092347-2f267b7a5b1b h1:WfvEtR7+b7DMRX6VFdKxOzC1PzFAV11bkHj9RucIgXQ=
github.com/networkservicemesh/sdk v0.0.0-20210504092347-2f267b7a5b1b/go.mod h1:uKeG+m5riQr0jllVp/vyeYJP2ruu1kyM8ejLWAKJwUo=
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 b09db2d

Please sign in to comment.