Files
query-orchestration/internal/test/aws_test.go
T
Michael McGuinness 721ca8a6e6 Merged in feature/dockerfileintest (pull request #130)
Dockerfile in Test

* dockerfile

* network

* const
2025-05-03 11:29:10 +00:00

31 lines
532 B
Go

package test
import (
"context"
"testing"
"queryorchestration/internal/serviceconfig"
"queryorchestration/internal/serviceconfig/objectstore"
"github.com/stretchr/testify/assert"
)
type TestAWSConfig struct {
serviceconfig.BaseConfig
objectstore.ObjectStoreConfig
}
func TestCreateQueueContainer(t *testing.T) {
t.Parallel()
if testing.Short() {
t.SkipNow()
}
ctx := context.Background()
cfg := &TestAWSConfig{}
net := GetNetwork(t, ctx)
qcfg := CreateAWSContainer(t, ctx, cfg, net)
assert.NotNil(t, qcfg)
}