Skip to content

Commit

Permalink
Fix flaky web test [3]
Browse files Browse the repository at this point in the history
  • Loading branch information
slvrtrn committed Oct 21, 2024
1 parent adfdf67 commit 1353fa1
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import type { Row } from '@clickhouse/client-common'
import { createTestClient } from '@test/utils'
import type { WebClickHouseClient } from '../../src/client'

describe('[Web] abort request', () => {
fdescribe('[Web] abort request', () => {
let client: WebClickHouseClient

beforeEach(() => {
Expand Down Expand Up @@ -35,7 +35,7 @@ describe('[Web] abort request', () => {
let rowCount = 0
const selectPromise = client
.query({
query: 'SELECT sleepEachRow(0.01), number FROM system.numbers LIMIT 3',
query: 'SELECT number FROM system.numbers LIMIT 1000',
format: 'JSONCompactEachRow',
abort_signal: controller.signal,
clickhouse_settings: {
Expand Down Expand Up @@ -69,7 +69,7 @@ describe('[Web] abort request', () => {
let rowCount = 0
const selectPromise = client
.query({
query: 'SELECT sleepEachRow(0.01), number FROM system.numbers LIMIT 3',
query: 'SELECT number FROM system.numbers LIMIT 3',
format: 'JSONCompactEachRow',
clickhouse_settings: {
// low block size to force streaming 1 row at a time
Expand Down

0 comments on commit 1353fa1

Please sign in to comment.