Skip to content

Commit

Permalink
test: sleep comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Sciator committed Nov 16, 2023
1 parent 1786e7c commit 2677939
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/client/test/integration/e2e.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ describe('e2e test', () => {
await rejects(client.query(query, database, queryType).next())
})

it('parallel query', async () => {
it('concurrent query', async () => {
const {database, token, url} = getEnvVariables()

const client = new InfluxDBClient({
Expand Down Expand Up @@ -178,6 +178,7 @@ describe('e2e test', () => {
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
max: row.getFloatField('max')!,
})
// Introduce concurrency: try to process more streams at once and switch between them
await sleep(10)
}
return queryValues
Expand Down

0 comments on commit 2677939

Please sign in to comment.