mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-02 11:39:06 +02:00
cleanup tests
This commit is contained in:
@@ -871,7 +871,7 @@ func Test_AddPeerAndAddToAll(t *testing.T) {
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
const totalPeers = 300
|
const totalPeers = 1000
|
||||||
|
|
||||||
var wg sync.WaitGroup
|
var wg sync.WaitGroup
|
||||||
errs := make(chan error, totalPeers)
|
errs := make(chan error, totalPeers)
|
||||||
|
|||||||
@@ -2143,8 +2143,6 @@ func Test_IsUniqueConstraintError(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func Test_AddPeer(t *testing.T) {
|
func Test_AddPeer(t *testing.T) {
|
||||||
t.Setenv("NETBIRD_STORE_ENGINE", string(types.PostgresStoreEngine))
|
|
||||||
t.Setenv("NB_GET_ACCOUNT_BUFFER_INTERVAL", "300ms")
|
|
||||||
manager, err := createManager(t)
|
manager, err := createManager(t)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
|
|||||||
Reference in New Issue
Block a user