grafana / grafana/xk6-sql

Errors from exec

Open
#96 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
190
Forks
65
Avg merge
2d 11h
Merged PRs (30d)
10

Description

It seems like when an `exec` statement gets an error this isn't caught and bubbled up to k6?

I see:

```
ERRO[2324] GoError: pq: cannot execute INSERT in a read-only transaction
running at reflect.methodValueCall (native)
ingest at ingest (file:///home/ec2-user/k6-v0.54.0-linux-amd64/new/scripts/neon.js:46:12(56)) executor=constant-vus scenario=ingest source=stacktrace
```
But I don't see any failed iterations, they are just counted as normal. Am I meant to be doing something to manage this?

(using Postgres with 1.0.0)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.