mirror of
https://github.com/netbirdio/netbird.git
synced 2025-01-10 07:58:32 +01:00
Skip integration tests on mysql
Signed-off-by: bcmmbaga <bethuelmbaga12@gmail.com>
This commit is contained in:
parent
b740fef6af
commit
60c50bf93b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user