forked from TrueCloudLab/frostfs-node
[#1016] frostfs-node: Fix gopls issues
Signed-off-by: Dmitrii Stepanov <d.stepanov@yadro.com>
This commit is contained in:
parent
6dbb61caf4
commit
d6534fd755
16 changed files with 53 additions and 52 deletions
|
@ -10,7 +10,7 @@ import (
|
|||
|
||||
func TestTTLNetCache(t *testing.T) {
|
||||
ttlDuration := time.Millisecond * 50
|
||||
cache := newNetworkTTLCache[string, time.Time](10, ttlDuration, testNetValueReader)
|
||||
cache := newNetworkTTLCache(10, ttlDuration, testNetValueReader)
|
||||
|
||||
key := "key"
|
||||
|
||||
|
|
|
@ -24,8 +24,14 @@ func TestMorphSection(t *testing.T) {
|
|||
const path = "../../../../config/example/node"
|
||||
|
||||
rpcs := []client.Endpoint{
|
||||
{"wss://rpc1.morph.frostfs.info:40341/ws", 1},
|
||||
{"wss://rpc2.morph.frostfs.info:40341/ws", 2},
|
||||
{
|
||||
Address: "wss://rpc1.morph.frostfs.info:40341/ws",
|
||||
Priority: 1,
|
||||
},
|
||||
{
|
||||
Address: "wss://rpc2.morph.frostfs.info:40341/ws",
|
||||
Priority: 2,
|
||||
},
|
||||
}
|
||||
|
||||
fileConfigTest := func(c *config.Config) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue