Merged in feature/shorttestsanddirtidy (pull request #26)
Add short tests and Tidy internal directories * complete the tasks
This commit is contained in:
@@ -12,6 +12,9 @@ import (
|
||||
)
|
||||
|
||||
func TestCreateAPIContainer(t *testing.T) {
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping long test in short mode")
|
||||
}
|
||||
ctx := context.Background()
|
||||
|
||||
ncfg, ncleanup := test.CreateNetwork(t, ctx)
|
||||
@@ -37,6 +40,9 @@ func TestCreateAPIContainer(t *testing.T) {
|
||||
cleanup()
|
||||
}
|
||||
func TestCreateAPIWithDependencies(t *testing.T) {
|
||||
if testing.Short() {
|
||||
t.Skip("Skipping long test in short mode")
|
||||
}
|
||||
ctx := context.Background()
|
||||
|
||||
conn, cleanup := test.CreateAPIWithDependencies(t, ctx, "queryService")
|
||||
|
||||
Reference in New Issue
Block a user