From b5ad1197e829eddbae32857374e323e5056504cd Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 3 Sep 2024 19:55:02 +0000 Subject: [PATCH 1/2] Bump github.com/opencontainers/runc from 1.1.13 to 1.1.14 Bumps [github.com/opencontainers/runc](https://github.com/opencontainers/runc) from 1.1.13 to 1.1.14. - [Release notes](https://github.com/opencontainers/runc/releases) - [Changelog](https://github.com/opencontainers/runc/blob/main/CHANGELOG.md) - [Commits](https://github.com/opencontainers/runc/compare/v1.1.13...v1.1.14) --- updated-dependencies: - dependency-name: github.com/opencontainers/runc dependency-type: indirect ... Signed-off-by: dependabot[bot] --- go.mod | 2 +- go.sum | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/go.mod b/go.mod index 283e4227b4..4c7869bcee 100644 --- a/go.mod +++ b/go.mod @@ -193,7 +193,7 @@ require ( github.com/onsi/ginkgo/v2 v2.20.0 // indirect github.com/opencontainers/go-digest v1.0.0 // indirect github.com/opencontainers/image-spec v1.1.0 // indirect - github.com/opencontainers/runc v1.1.13 // indirect + github.com/opencontainers/runc v1.1.14 // indirect github.com/opencontainers/runtime-spec v1.2.0 // indirect github.com/opentracing/opentracing-go v1.2.1-0.20220228012449-10b1cf09e00b // indirect github.com/ory/dockertest v3.3.5+incompatible // indirect diff --git a/go.sum b/go.sum index 7d8158f6ee..9831485e96 100644 --- a/go.sum +++ b/go.sum @@ -592,8 +592,8 @@ github.com/opencontainers/go-digest v1.0.0 h1:apOUWs51W5PlhuyGyz9FCeeBIOUDA/6nW8 github.com/opencontainers/go-digest v1.0.0/go.mod h1:0JzlMkj0TRzQZfJkVvzbP0HBR3IKzErnv2BNG4W4MAM= github.com/opencontainers/image-spec v1.1.0 h1:8SG7/vwALn54lVB/0yZ/MMwhFrPYtpEHQb2IpWsCzug= github.com/opencontainers/image-spec v1.1.0/go.mod h1:W4s4sFTMaBeK1BQLXbG4AdM2szdn85PY75RI83NrTrM= -github.com/opencontainers/runc v1.1.13 h1:98S2srgG9vw0zWcDpFMn5TRrh8kLxa/5OFUstuUhmRs= -github.com/opencontainers/runc v1.1.13/go.mod h1:R016aXacfp/gwQBYw2FDGa9m+n6atbLWrYY8hNMT/sA= +github.com/opencontainers/runc v1.1.14 h1:rgSuzbmgz5DUJjeSnw337TxDbRuqjs6iqQck/2weR6w= +github.com/opencontainers/runc v1.1.14/go.mod h1:E4C2z+7BxR7GHXp0hAY53mek+x49X1LjPNeMTfRGvOA= github.com/opencontainers/runtime-spec v1.0.2/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= github.com/opencontainers/runtime-spec v1.2.0 h1:z97+pHb3uELt/yiAWD691HNHQIF07bE7dzrbT927iTk= github.com/opencontainers/runtime-spec v1.2.0/go.mod h1:jwyrGlmzljRJv/Fgzds9SsS/C5hL+LL3ko9hs6T5lQ0= From 24d830b6d3f8c9d117befb489d1dd092bb4d770a Mon Sep 17 00:00:00 2001 From: Oliver Bundalo Date: Wed, 4 Sep 2024 08:07:52 +0200 Subject: [PATCH 2/2] Gossip UT, wait before pubsub publish --- network/gossip_test.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/network/gossip_test.go b/network/gossip_test.go index f178c0aebe..8d308ae9d2 100644 --- a/network/gossip_test.go +++ b/network/gossip_test.go @@ -31,7 +31,7 @@ func WaitForSubscribers(ctx context.Context, srv *Server, topic string, expected } func TestSimpleGossip(t *testing.T) { - numServers := 6 + numServers := 9 sentMessage := fmt.Sprintf("%d", time.Now().UTC().Unix()) servers, createErr := createServers(numServers, nil) @@ -75,6 +75,7 @@ func TestSimpleGossip(t *testing.T) { err := WaitForSubscribers(ctx, publisher, topicName, len(servers)-1) require.NoError(t, err, "Unable to wait for subscribers") + time.Sleep(100 * time.Millisecond) err = publisherTopic.Publish( &testproto.GenericMessage{ Message: sentMessage,