support for GetPrivateServices in sqlite

Signed-off-by: Dmitri Dolguikh <dmitri.external@netbird.io>
This commit is contained in:
Dmitri Dolguikh
2026-08-11 14:25:39 +02:00
parent 859af13c12
commit cd6f63272b
3 changed files with 91 additions and 16 deletions

View File

@@ -10,13 +10,9 @@ import (
"github.com/stretchr/testify/assert"
networkmapdb "github.com/netbirdio/netbird/management/internals/network_map_db"
"github.com/netbirdio/netbird/management/server/types"
)
func TestGetPrivateServicesViaPgxConnection(t *testing.T) {
if engine == string(types.SqliteStoreEngine) {
t.Skip()
}
func TestGetPrivateServices(t *testing.T) {
ctx := context.TODO()
execQuery(t, ctx,
@@ -54,11 +50,7 @@ func TestGetPrivateServicesViaPgxConnection(t *testing.T) {
})
}
func TestGetProxyTargetedDomainResourceIDsViaPgxConnection(t *testing.T) {
if engine == string(types.SqliteStoreEngine) {
t.Skip()
}
func TestGetProxyTargetedDomainResourceIDs(t *testing.T) {
ctx := context.TODO()
execQuery(t, ctx,