Merged in feature/s3integration (pull request #47)
Set Up S3 integration * cfginterfaceandfirsts3funcs * addlocalstack * generallypassesfullsuite * addedmultipleattemptedpings * cleanup * stabiliseplusskip
This commit is contained in:
@@ -2,6 +2,7 @@ package test
|
||||
|
||||
import (
|
||||
"context"
|
||||
"queryorchestration/internal/serviceconfig"
|
||||
"testing"
|
||||
|
||||
"github.com/stretchr/testify/assert"
|
||||
@@ -16,13 +17,16 @@ func TestCreateRunner(t *testing.T) {
|
||||
ncfg, ncleanup := CreateNetwork(t, ctx)
|
||||
defer ncleanup()
|
||||
|
||||
cfg := CreateBaseConfig()
|
||||
cfg := &serviceconfig.BaseConfig{}
|
||||
SetCfgProvider(t, cfg)
|
||||
|
||||
qcleanup := CreateQueueClient(t, ctx, &CreateQueueConfig{
|
||||
_, qcleanup := CreateAWSContainer(t, ctx, &CreateAWSConfig{
|
||||
Network: ncfg,
|
||||
Cfg: cfg,
|
||||
})
|
||||
defer qcleanup()
|
||||
err := cfg.SetQueueClient(ctx)
|
||||
assert.NoError(t, err)
|
||||
url := CreateQueue(t, ctx, cfg, "myname")
|
||||
|
||||
_, dbcleanup := CreateDB(t, ctx, &CreateDatabaseConfig{
|
||||
|
||||
Reference in New Issue
Block a user