(t *testing.T)
| 458 | } |
| 459 | |
| 460 | func TestExplicitExclude(t *testing.T) { |
| 461 | r, ok := makeRoutes(&container.Summary{ |
| 462 | Names: dummyNames, |
| 463 | Labels: map[string]string{ |
| 464 | D.LabelAliases: "a", |
| 465 | D.LabelExclude: "true", |
| 466 | "proxy.a.no_tls_verify": "true", |
| 467 | }, |
| 468 | }, "")["a"] |
| 469 | expect.True(t, ok) |
| 470 | expect.True(t, r.ShouldExclude()) |
| 471 | } |
| 472 | |
| 473 | func TestImplicitExcludeDatabase(t *testing.T) { |
| 474 | t.Run("mount path detection", func(t *testing.T) { |
nothing calls this directly
no test coverage detected