This commit is contained in:
Joe Kralicky 2024-11-04 14:02:40 -05:00
parent 85f06ab36b
commit f00c539ca1
No known key found for this signature in database
GPG key ID: 75C4875F34A9FB79
9 changed files with 44 additions and 18 deletions

View file

@ -12,6 +12,7 @@ import (
)
func TestBuilder_BuildBootstrapAdmin(t *testing.T) {
t.Setenv("TMPDIR", "/tmp")
b := New("local-grpc", "local-http", "local-metrics", filemgr.NewManager(), nil)
t.Run("valid", func(t *testing.T) {
adminCfg, err := b.BuildBootstrapAdmin(&config.Config{
@ -25,7 +26,7 @@ func TestBuilder_BuildBootstrapAdmin(t *testing.T) {
"address": {
"pipe": {
"mode": 384,
"path": "`+envoyAdminAddressSockName+`"
"path": "/tmp/`+envoyAdminAddressSockName+`"
}
}
}