mirror of
https://github.com/netbirdio/netbird.git
synced 2025-08-19 11:20:18 +02:00
Skip integration tests on mysql
Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
This commit is contained in:
@@ -5,6 +5,7 @@ import (
|
||||
"encoding/json"
|
||||
"net/http"
|
||||
"net/http/httptest"
|
||||
"os"
|
||||
"sort"
|
||||
"strings"
|
||||
"testing"
|
||||
@@ -18,6 +19,10 @@ import (
|
||||
)
|
||||
|
||||
func Test_SetupKeys_Create(t *testing.T) {
|
||||
if os.Getenv("NETBIRD_STORE_ENGINE") == "mysql" {
|
||||
t.Skip("skip integration tests on mysql")
|
||||
}
|
||||
|
||||
truePointer := true
|
||||
|
||||
users := []struct {
|
||||
@@ -325,6 +330,10 @@ func Test_SetupKeys_Create(t *testing.T) {
|
||||
}
|
||||
|
||||
func Test_SetupKeys_Update(t *testing.T) {
|
||||
if os.Getenv("NETBIRD_STORE_ENGINE") == "mysql" {
|
||||
t.Skip("skip integration tests on mysql")
|
||||
}
|
||||
|
||||
users := []struct {
|
||||
name string
|
||||
userId string
|
||||
@@ -611,6 +620,10 @@ func Test_SetupKeys_Update(t *testing.T) {
|
||||
}
|
||||
|
||||
func Test_SetupKeys_Get(t *testing.T) {
|
||||
if os.Getenv("NETBIRD_STORE_ENGINE") == "mysql" {
|
||||
t.Skip("skip integration tests on mysql")
|
||||
}
|
||||
|
||||
users := []struct {
|
||||
name string
|
||||
userId string
|
||||
@@ -785,6 +798,10 @@ func Test_SetupKeys_Get(t *testing.T) {
|
||||
}
|
||||
|
||||
func Test_SetupKeys_GetAll(t *testing.T) {
|
||||
if os.Getenv("NETBIRD_STORE_ENGINE") == "mysql" {
|
||||
t.Skip("skip integration tests on mysql")
|
||||
}
|
||||
|
||||
users := []struct {
|
||||
name string
|
||||
userId string
|
||||
@@ -947,6 +964,10 @@ func Test_SetupKeys_GetAll(t *testing.T) {
|
||||
}
|
||||
|
||||
func Test_SetupKeys_Delete(t *testing.T) {
|
||||
if os.Getenv("NETBIRD_STORE_ENGINE") == "mysql" {
|
||||
t.Skip("skip integration tests on mysql")
|
||||
}
|
||||
|
||||
users := []struct {
|
||||
name string
|
||||
userId string
|
||||
|
Reference in New Issue
Block a user