Merged in feature/fullsuite (pull request #16)
Full suite command * fullsuite * fixlint
This commit is contained in:
@@ -42,7 +42,9 @@ func (s *Service) submitCreate(ctx context.Context, entity *queryprocessor.Creat
|
||||
if err != nil {
|
||||
return uuid.Nil, err
|
||||
}
|
||||
defer tx.Rollback(ctx)
|
||||
defer func() {
|
||||
_ = tx.Rollback(ctx)
|
||||
}()
|
||||
|
||||
qtx := s.db.Queries.WithTx(tx)
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ version: '3'
|
||||
vars:
|
||||
CONTEXT: ..
|
||||
OUT_DIR: out
|
||||
|
||||
|
||||
includes:
|
||||
deps:
|
||||
dir: "{{.CONTEXT}}"
|
||||
@@ -28,6 +28,11 @@ includes:
|
||||
taskfile: database.yml
|
||||
|
||||
tasks:
|
||||
fullsuite:
|
||||
deps:
|
||||
- lint
|
||||
- test:unit:coverage
|
||||
- test:integration
|
||||
generate:
|
||||
deps:
|
||||
- db:generate
|
||||
|
||||
@@ -34,5 +34,6 @@ func TestQueryRunner(t *testing.T) {
|
||||
Client: qCfg.Client,
|
||||
}
|
||||
|
||||
queue.Send(ctx, cfg, string(docJson), map[string]types.MessageAttributeValue{})
|
||||
err = queue.Send(ctx, cfg, string(docJson), map[string]types.MessageAttributeValue{})
|
||||
assert.Nil(t, err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user