From b09db2d22240a7b324334e744d06ec4320aec1ec Mon Sep 17 00:00:00 2001 From: NSMBot Date: Tue, 4 May 2021 09:24:13 +0000 Subject: [PATCH] Update go.mod and go.sum to latest version from networkservicemesh/sdk@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 * add checks into watchFile test Signed-off-by: Danil Uzlov * add proper checks for PathError Signed-off-by: Danil Uzlov * use unique path for every test attempt Signed-off-by: Danil Uzlov * clean error checking code Signed-off-by: Danil Uzlov * exclude ubuntu and macos from testing Signed-off-by: Danil Uzlov * retry mkdir on failure Signed-off-by: Danil Uzlov * reenable ubuntu and macos testing Signed-off-by: Danil Uzlov * add extra info for macos debuging Signed-off-by: Danil Uzlov * print each event Signed-off-by: Danil Uzlov * mitigate macos inconsistency Signed-off-by: Danil Uzlov * test Signed-off-by: Danil Uzlov * test Signed-off-by: Danil Uzlov * add more debug logs Signed-off-by: Danil Uzlov * clean code Signed-off-by: Danil Uzlov * remove sleep Signed-off-by: Danil Uzlov * revert from context timeout to timeout per event Signed-off-by: Danil Uzlov * enable all tests Signed-off-by: Danil Uzlov * clean code Signed-off-by: Danil Uzlov * extract constant for macos-specific behaviour handling Signed-off-by: Danil Uzlov * refactor Test_WatchFile Signed-off-by: Danil Uzlov * format Test_WatchFile Signed-off-by: Danil Uzlov * use more appropriate test checking functions Signed-off-by: Danil Uzlov * remove log helper function Signed-off-by: Danil Uzlov * expect separate create and write events Signed-off-by: Danil Uzlov * fix linter warning Signed-off-by: Danil Uzlov * use context with timeout instead of manual timeouts Signed-off-by: Danil Uzlov * use testing.TempDir instead of system temp dir Signed-off-by: Danil Uzlov * clean code Signed-off-by: Danil Uzlov * remove unnecessary stuff around testing.TempDir Signed-off-by: Danil Uzlov Signed-off-by: NSMBot --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 87b0b35..b3bdc3e 100644 --- a/go.mod +++ b/go.mod @@ -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 diff --git a/go.sum b/go.sum index cbd3a12..d8ae371 100644 --- a/go.sum +++ b/go.sum @@ -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=