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"
|
"encoding/json"
|
||||||
"net/http"
|
"net/http"
|
||||||
"net/http/httptest"
|
"net/http/httptest"
|
||||||
|
"os"
|
||||||
"sort"
|
"sort"
|
||||||
"strings"
|
"strings"
|
||||||
"testing"
|
"testing"
|
||||||
@ -18,6 +19,10 @@ import (
|
|||||||
)
|
)
|
||||||
|
|
||||||
func Test_SetupKeys_Create(t *testing.T) {
|
func Test_SetupKeys_Create(t *testing.T) {
|
||||||
|
if os.Getenv("NETBIRD_STORE_ENGINE") == "mysql" {
|
||||||
|
t.Skip("skip integration tests on mysql")
|
||||||
|
}
|
||||||
|
|
||||||
truePointer := true
|
truePointer := true
|
||||||
|
|
||||||
users := []struct {
|
users := []struct {
|
||||||
@ -325,6 +330,10 @@ func Test_SetupKeys_Create(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func Test_SetupKeys_Update(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 {
|
users := []struct {
|
||||||
name string
|
name string
|
||||||
userId string
|
userId string
|
||||||
@ -611,6 +620,10 @@ func Test_SetupKeys_Update(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func Test_SetupKeys_Get(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 {
|
users := []struct {
|
||||||
name string
|
name string
|
||||||
userId string
|
userId string
|
||||||
@ -785,6 +798,10 @@ func Test_SetupKeys_Get(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func Test_SetupKeys_GetAll(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 {
|
users := []struct {
|
||||||
name string
|
name string
|
||||||
userId string
|
userId string
|
||||||
@ -947,6 +964,10 @@ func Test_SetupKeys_GetAll(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func Test_SetupKeys_Delete(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 {
|
users := []struct {
|
||||||
name string
|
name string
|
||||||
userId string
|
userId string
|
||||||
|
Loading…
Reference in New Issue
Block a user