Files
query-orchestration/internal/test/aws_test.go
T
Michael McGuinness fee71e7740 Merged in feature/postprocessing (pull request #114)
Feature/postprocessing

* tests

* passtest

* fixshorttests

* mosttests

* improvingbasedockerfile

* testspeeds

* testing

* host

* canparallel

* clean

* passfullsuite

* singlepagemax

* test

* findfeatures

* findstables

* tbls

* tablestoo

* tablestoo

* lateraltests

* tableloc

* cleanup

* inlinetable

* childids

* cleanup

* tests
2025-04-22 14:40:16 +00:00

34 lines
625 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) {
if testing.Short() {
t.Skip("Skipping long test in short mode")
}
ctx := context.Background()
cfg := &TestAWSConfig{}
SetCfgProvider(t, cfg)
net := DepNetwork.Get(t, ctx)
qcfg, cleanup := CreateAWSContainer(t, ctx, cfg, net)
assert.NotNil(t, qcfg)
assert.NotNil(t, cleanup)
cleanup()
}