core/envoyconfig: make adding ipv6 addresses to internal cidr list conditional on ipv6 support on the system (#5538)

This commit is contained in:
Denis Mishin 2025-03-21 11:14:50 -04:00 committed by GitHub
parent bc263e3ee5
commit ab5f3ac7f3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
22 changed files with 86 additions and 75 deletions

View file

@ -713,7 +713,7 @@ func TestSharedResourceMonitor(t *testing.T) {
}
func TestBootstrapConfig(t *testing.T) {
b := envoyconfig.New("localhost:1111", "localhost:2222", "localhost:3333", filemgr.NewManager(), nil)
b := envoyconfig.New("localhost:1111", "localhost:2222", "localhost:3333", filemgr.NewManager(), nil, true)
testEnvoyPid := 99
tempDir := t.TempDir()
monitor, err := NewSharedResourceMonitor(context.Background(), config.NewStaticSource(nil), tempDir, WithCgroupDriver(&cgroupV2Driver{