mirror of
https://github.com/netbirdio/netbird.git
synced 2026-04-16 07:16:38 +00:00
Fix cicd testing issue (#197)
* sync module * cache per test os * different port for tests * wireguard packages versions
This commit is contained in:
@@ -84,8 +84,8 @@ func Test_SyncProtocol(t *testing.T) {
|
||||
defer func() {
|
||||
os.Remove(filepath.Join(dir, "store.json")) //nolint
|
||||
}()
|
||||
|
||||
mgmtServer, err := startManagement(33071, &Config{
|
||||
mport := 33091
|
||||
mgmtServer, err := startManagement(mport, &Config{
|
||||
Stuns: []*Host{{
|
||||
Proto: "udp",
|
||||
URI: "stun:stun.wiretrustee.com:3468",
|
||||
@@ -112,7 +112,7 @@ func Test_SyncProtocol(t *testing.T) {
|
||||
}
|
||||
defer mgmtServer.Stop()
|
||||
|
||||
client, clientConn, err := createRawClient("localhost:33071")
|
||||
client, clientConn, err := createRawClient(fmt.Sprintf("localhost:%d", mport))
|
||||
if err != nil {
|
||||
t.Fatal(err)
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user