@@ -4,7 +4,6 @@ import { afterAll, beforeAll, describe, expect } from 'vitest';
44import { test } from '../../../../helpers' ;
55import { Project , User , niceBackendFetch } from '../../../backend-helpers' ;
66import {
7- HIGH_VOLUME_TIMEOUT ,
87 TEST_TIMEOUT ,
98 TestDbManager ,
109 createProjectWithExternalDb as createProjectWithExternalDbRaw ,
@@ -25,7 +24,7 @@ async function runQueryForCurrentProject(body: { query: string, params?: Record<
2524}
2625
2726async function waitForClickhouseUser ( email : string , expectedDisplayName : string ) {
28- const timeoutMs = 600_000 ;
27+ const timeoutMs = 180_000 ;
2928 const intervalMs = 2_000 ;
3029 const start = performance . now ( ) ;
3130
@@ -51,7 +50,7 @@ async function waitForClickhouseUser(email: string, expectedDisplayName: string)
5150}
5251
5352async function waitForClickhouseUserDeletion ( email : string ) {
54- const timeoutMs = 600_000 ;
53+ const timeoutMs = 180_000 ;
5554 const intervalMs = 2_000 ;
5655 const start = performance . now ( ) ;
5756
@@ -122,7 +121,7 @@ describe.sequential('External DB Sync - Basic Tests', () => {
122121 display_name : "After CH Update" ,
123122 primary_email : "clickhouse-update@example.com" ,
124123 } ) ;
125- } , HIGH_VOLUME_TIMEOUT ) ;
124+ } , TEST_TIMEOUT ) ;
126125
127126 test ( "Deleted user is removed from ClickHouse view" , async ( { expect } ) => {
128127 await Project . createAndSwitch ( { config : { magic_link_enabled : true } } ) ;
@@ -142,7 +141,7 @@ describe.sequential('External DB Sync - Basic Tests', () => {
142141 } ) ;
143142
144143 await waitForClickhouseUserDeletion ( "clickhouse-delete@example.com" ) ;
145- } , HIGH_VOLUME_TIMEOUT ) ;
144+ } , TEST_TIMEOUT ) ;
146145
147146 test ( "Syncs users to ClickHouse by default" , async ( { expect } ) => {
148147 await Project . createAndSwitch ( { config : { magic_link_enabled : true } } ) ;
0 commit comments