MM-44236 Update server dependencies (#20444)

Этот коммит содержится в:
Tim Scheuermann
2022-06-16 08:50:55 +02:00
коммит произвёл GitHub
родитель ca5647fdad
Коммит eb034fc981
10 изменённых файлов: 100 добавлений и 98 удалений

Просмотреть файл

@@ -81,8 +81,8 @@ func TestPing(t *testing.T) {
assert.NoError(t, merr.ErrorOrNil())
assert.Equal(t, int32(NumRemotes), atomic.LoadInt32(&countWebReq))
t.Log(fmt.Sprintf("%d web requests counted; %d expected",
atomic.LoadInt32(&countWebReq), NumRemotes))
t.Logf("%d web requests counted; %d expected",
atomic.LoadInt32(&countWebReq), NumRemotes)
})
t.Run("HTTP errors", func(t *testing.T) {
@@ -131,8 +131,8 @@ func TestPing(t *testing.T) {
assert.NoError(t, merr.ErrorOrNil())
assert.Equal(t, int32(NumRemotes), atomic.LoadInt32(&countWebReq))
t.Log(fmt.Sprintf("%d web requests counted; %d expected",
atomic.LoadInt32(&countWebReq), NumRemotes))
t.Logf("%d web requests counted; %d expected",
atomic.LoadInt32(&countWebReq), NumRemotes)
})
}

Просмотреть файл

@@ -129,8 +129,8 @@ func TestBroadcastMsg(t *testing.T) {
assert.Equal(t, int32(NumRemotes), atomic.LoadInt32(&countCallbacks))
assert.Equal(t, int32(NumRemotes), atomic.LoadInt32(&countWebReq))
t.Log(fmt.Sprintf("%d callbacks counted; %d web requests counted; %d expected",
atomic.LoadInt32(&countCallbacks), atomic.LoadInt32(&countWebReq), NumRemotes))
t.Logf("%d callbacks counted; %d web requests counted; %d expected",
atomic.LoadInt32(&countCallbacks), atomic.LoadInt32(&countWebReq), NumRemotes)
})
t.Run("HTTP error", func(t *testing.T) {