Skip to content

Commit 0da8f65

Browse files
committed
fix test
Signed-off-by: Miguel Molina <[email protected]>
1 parent 9a44c39 commit 0da8f65

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

integration_test.go

+3-1
Original file line numberDiff line numberDiff line change
@@ -328,12 +328,14 @@ func TestUastQueries(t *testing.T) {
328328

329329
_ = testCases
330330

331+
var pid uint64
331332
for _, c := range testCases {
333+
pid++
332334
t.Run(c.query, func(t *testing.T) {
333335
require := require.New(t)
334336

335337
session := gitbase.NewSession(pool)
336-
ctx := sql.NewContext(context.TODO(), sql.WithSession(session))
338+
ctx := sql.NewContext(context.TODO(), sql.WithSession(session), sql.WithPid(pid))
337339

338340
_, iter, err := engine.Query(ctx, c.query)
339341
require.NoError(err)

0 commit comments

Comments
 (0)