fix tests

Signed-off-by: Vasiliy Tolstov <v.tolstov@unistack.org>
This commit is contained in:
2020-08-20 14:11:08 +03:00
parent e6daa9a838
commit 0a42845a40
2 changed files with 33 additions and 0 deletions

View File

@@ -47,6 +47,10 @@ func cacheCleanup(db string, s store.Store) {
}
func TestStoreReInit(t *testing.T) {
if len(os.Getenv("IN_TRAVIS_CI")) > 0 {
t.Skip()
}
tcs := []struct {
name string
s store.Store
@@ -69,6 +73,10 @@ func TestStoreReInit(t *testing.T) {
}
func TestStoreBasic(t *testing.T) {
if len(os.Getenv("IN_TRAVIS_CI")) > 0 {
t.Skip()
}
tcs := []struct {
name string
s store.Store
@@ -89,6 +97,10 @@ func TestStoreBasic(t *testing.T) {
}
func TestStoreTable(t *testing.T) {
if len(os.Getenv("IN_TRAVIS_CI")) > 0 {
t.Skip()
}
tcs := []struct {
name string
s store.Store
@@ -108,6 +120,10 @@ func TestStoreTable(t *testing.T) {
}
func TestStoreDatabase(t *testing.T) {
if len(os.Getenv("IN_TRAVIS_CI")) > 0 {
t.Skip()
}
tcs := []struct {
name string
s store.Store
@@ -127,6 +143,10 @@ func TestStoreDatabase(t *testing.T) {
}
func TestStoreDatabaseTable(t *testing.T) {
if len(os.Getenv("IN_TRAVIS_CI")) > 0 {
t.Skip()
}
tcs := []struct {
name string
s store.Store