mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-02 22:34:56 -04:00
cli: set MTU in wg-quick conf
This commit is contained in:
parent
935b2a4490
commit
c0105a59aa
5 changed files with 20 additions and 12 deletions
|
@ -5,6 +5,7 @@ import (
|
|||
"context"
|
||||
"encoding/base64"
|
||||
"errors"
|
||||
"fmt"
|
||||
"strconv"
|
||||
"strings"
|
||||
"testing"
|
||||
|
@ -728,7 +729,7 @@ func TestWriteWGQuickFile(t *testing.T) {
|
|||
assert.NoError(err)
|
||||
file, err := tc.fileHandler.Read(*tc.config.WGQuickConfigPath)
|
||||
assert.NoError(err)
|
||||
assert.NotEmpty(file)
|
||||
assert.Contains(string(file), fmt.Sprint("MTU = ", wireguardAdminMTU))
|
||||
}
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue