(t *testing.T)
| 233 | } |
| 234 | |
| 235 | func TestCreate_secretKeyEmpty(t *testing.T) { |
| 236 | c := DefaultLANConfig() |
| 237 | c.BindAddr = getBindAddr().String() |
| 238 | c.SecretKey = make([]byte, 0) |
| 239 | |
| 240 | m, err := Create(c) |
| 241 | require.NoError(t, err) |
| 242 | defer func() { |
| 243 | if err := m.Shutdown(); err != nil { |
| 244 | t.Fatal(err) |
| 245 | } |
| 246 | }() |
| 247 | |
| 248 | if m.config.EncryptionEnabled() { |
| 249 | t.Fatalf("Expected encryption to be disabled") |
| 250 | } |
| 251 | } |
| 252 | |
| 253 | func TestCreate_checkBroadcastQueueMetrics(t *testing.T) { |
| 254 | sink := registerInMemorySink(t) |
nothing calls this directly
no test coverage detected
searching dependent graphs…