Merged in feature/testingopts (pull request #129)
Testing Options and Clean Up * bitsandbobs * lint * healthchecks * imgintests * singlegenerate * testclean * network * networkclean * cmds
This commit is contained in:
@@ -13,7 +13,7 @@ import (
|
||||
|
||||
func TestRunMigrations(t *testing.T) {
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping long test in short mode")
|
||||
t.SkipNow()
|
||||
}
|
||||
ctx := t.Context()
|
||||
cfg := &serviceconfig.BaseConfig{}
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
func TestClean(t *testing.T) {
|
||||
t.Parallel()
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping long test in short mode")
|
||||
t.SkipNow()
|
||||
}
|
||||
ctx := context.Background()
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
func TestClient(t *testing.T) {
|
||||
t.Parallel()
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping long test in short mode")
|
||||
t.SkipNow()
|
||||
}
|
||||
ctx := context.Background()
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ import (
|
||||
func TestCollector(t *testing.T) {
|
||||
t.Parallel()
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping long test in short mode")
|
||||
t.SkipNow()
|
||||
}
|
||||
ctx := context.Background()
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ import (
|
||||
func TestDocument(t *testing.T) {
|
||||
t.Parallel()
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping long test in short mode")
|
||||
t.SkipNow()
|
||||
}
|
||||
ctx := context.Background()
|
||||
|
||||
|
||||
@@ -16,7 +16,7 @@ import (
|
||||
func TestQueries(t *testing.T) {
|
||||
t.Parallel()
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping long test in short mode")
|
||||
t.SkipNow()
|
||||
}
|
||||
ctx := context.Background()
|
||||
|
||||
@@ -226,7 +226,7 @@ func TestQueries(t *testing.T) {
|
||||
func TestQueryDependencyTree(t *testing.T) {
|
||||
t.Parallel()
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping long test in short mode")
|
||||
t.SkipNow()
|
||||
}
|
||||
ctx := context.Background()
|
||||
|
||||
@@ -445,7 +445,7 @@ func TestQueryDependencyTree(t *testing.T) {
|
||||
func TestQueriesList(t *testing.T) {
|
||||
t.Parallel()
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping long test in short mode")
|
||||
t.SkipNow()
|
||||
}
|
||||
ctx := context.Background()
|
||||
|
||||
@@ -501,7 +501,7 @@ func TestQueriesList(t *testing.T) {
|
||||
func TestListQueryClients(t *testing.T) {
|
||||
t.Parallel()
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping long test in short mode")
|
||||
t.SkipNow()
|
||||
}
|
||||
ctx := context.Background()
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ import (
|
||||
func TestResults(t *testing.T) {
|
||||
t.Parallel()
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping long test in short mode")
|
||||
t.SkipNow()
|
||||
}
|
||||
ctx := context.Background()
|
||||
|
||||
@@ -157,7 +157,7 @@ func TestResults(t *testing.T) {
|
||||
func TestResultValues(t *testing.T) {
|
||||
t.Parallel()
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping long test in short mode")
|
||||
t.SkipNow()
|
||||
}
|
||||
ctx := context.Background()
|
||||
|
||||
@@ -371,7 +371,7 @@ func TestResultValues(t *testing.T) {
|
||||
func TestUnsyncedNoDepsQueries(t *testing.T) {
|
||||
t.Parallel()
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping long test in short mode")
|
||||
t.SkipNow()
|
||||
}
|
||||
ctx := context.Background()
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ import (
|
||||
func TestListClientDocumentIDs(t *testing.T) {
|
||||
t.Parallel()
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping long test in short mode")
|
||||
t.SkipNow()
|
||||
}
|
||||
ctx := context.Background()
|
||||
|
||||
@@ -168,7 +168,7 @@ func createClientWithCollector(t testing.TB, ctx context.Context, queries *repos
|
||||
|
||||
func TestClientSync(t *testing.T) {
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping long test in short mode")
|
||||
t.SkipNow()
|
||||
}
|
||||
|
||||
t.Run("document fail clean", func(t *testing.T) {
|
||||
|
||||
@@ -18,7 +18,7 @@ import (
|
||||
func TestTextExtraction(t *testing.T) {
|
||||
t.Parallel()
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping long test in short mode")
|
||||
t.SkipNow()
|
||||
}
|
||||
ctx := context.Background()
|
||||
|
||||
@@ -126,7 +126,7 @@ func TestTextExtraction(t *testing.T) {
|
||||
func TestTextTextractPart(t *testing.T) {
|
||||
t.Parallel()
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping long test in short mode")
|
||||
t.SkipNow()
|
||||
}
|
||||
ctx := context.Background()
|
||||
|
||||
@@ -256,7 +256,7 @@ func TestTextTextractPart(t *testing.T) {
|
||||
func TestTextOutPart(t *testing.T) {
|
||||
t.Parallel()
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping long test in short mode")
|
||||
t.SkipNow()
|
||||
}
|
||||
ctx := context.Background()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user