Merged in feature/testing (pull request #102)
Minimum Testing Threshold * mintests
This commit is contained in:
@@ -6,6 +6,7 @@ import (
|
||||
|
||||
"queryorchestration/internal/serviceconfig"
|
||||
|
||||
"github.com/docker/go-connections/nat"
|
||||
"github.com/stretchr/testify/assert"
|
||||
)
|
||||
|
||||
@@ -31,6 +32,12 @@ func TestCreateContainer(t *testing.T) {
|
||||
Name: QueryService,
|
||||
Cfg: cfg,
|
||||
Network: ncfg,
|
||||
Env: map[string]string{
|
||||
"EXAMPLE": "value",
|
||||
},
|
||||
ExposedPorts: []nat.Port{
|
||||
nat.Port("8080/tcp"),
|
||||
},
|
||||
}
|
||||
|
||||
container, cleanup := createContainer(t, ctx, ccfg)
|
||||
|
||||
Reference in New Issue
Block a user