Files
query-orchestration/internal/test/aws_test.go
T

31 lines
532 B
Go
Raw Normal View History

package test
import (
"context"
"testing"
2025-03-05 12:05:46 +00:00
"queryorchestration/internal/serviceconfig"
"queryorchestration/internal/serviceconfig/objectstore"
2025-03-05 12:05:46 +00:00
"github.com/stretchr/testify/assert"
)
type TestAWSConfig struct {
serviceconfig.BaseConfig
objectstore.ObjectStoreConfig
}
func TestCreateQueueContainer(t *testing.T) {
2025-04-25 17:02:50 +00:00
t.Parallel()
if testing.Short() {
t.SkipNow()
}
ctx := context.Background()
cfg := &TestAWSConfig{}
net := GetNetwork(t, ctx)
2025-04-25 17:02:50 +00:00
qcfg := CreateAWSContainer(t, ctx, cfg, net)
assert.NotNil(t, qcfg)
}