0815cb35fb
Basic Lint Checks * basic
28 lines
483 B
Go
28 lines
483 B
Go
package test
|
|
|
|
import (
|
|
"context"
|
|
"testing"
|
|
|
|
"queryorchestration/internal/serviceconfig"
|
|
|
|
"github.com/stretchr/testify/assert"
|
|
)
|
|
|
|
func TestCreateQueueContainer(t *testing.T) {
|
|
if testing.Short() {
|
|
t.Skip("Skipping long test in short mode")
|
|
}
|
|
ctx := context.Background()
|
|
cfg := &serviceconfig.BaseConfig{}
|
|
SetCfgProvider(t, cfg)
|
|
|
|
qcfg, cleanup := CreateAWSContainer(t, ctx, &CreateAWSConfig{
|
|
Cfg: cfg,
|
|
})
|
|
assert.NotNil(t, qcfg)
|
|
assert.NotNil(t, cleanup)
|
|
|
|
cleanup()
|
|
}
|