@@ -223,7 +223,7 @@ import { delay } from "../../../../src/Utility/PromiseUtil.js";
223
223
const definitionName1 = "pull-replication" + hub . database ;
224
224
const definitionName2 = "pull-replication" + hub2 . database ;
225
225
226
- const timeout = 3_000 ;
226
+ const timeout = 15_000 ;
227
227
228
228
await hub . maintenance . forDatabase ( hub . database ) . send ( new PutPullReplicationAsHubOperation ( definitionName1 ) ) ;
229
229
await hub2 . maintenance . forDatabase ( hub2 . database ) . send ( new PutPullReplicationAsHubOperation ( definitionName2 ) ) ;
@@ -242,7 +242,8 @@ import { delay } from "../../../../src/Utility/PromiseUtil.js";
242
242
connectionStringName : "ConnectionString2-" + sink . database ,
243
243
hubName : definitionName2 ,
244
244
taskId : pullTasks [ 0 ] . taskId ,
245
- mode : "HubToSink"
245
+ mode : "HubToSink" ,
246
+ url : sink . urls [ 0 ]
246
247
} ;
247
248
248
249
await ReplicationTestContext . addWatcherToReplicationTopology ( sink , pull , ...hub2 . urls ) ;
@@ -350,7 +351,7 @@ import { delay } from "../../../../src/Utility/PromiseUtil.js";
350
351
hub = await testContext . getDocumentStore ( ) ;
351
352
352
353
const definitionName = "pull-replication" + hub . database ;
353
- const timeout = 10_000 ;
354
+ const timeout = 15_000 ;
354
355
355
356
await hub . maintenance . forDatabase ( hub . database )
356
357
. send ( new PutPullReplicationAsHubOperation ( definitionName ) ) ;
@@ -371,7 +372,8 @@ import { delay } from "../../../../src/Utility/PromiseUtil.js";
371
372
hubName : definitionName ,
372
373
disabled : true ,
373
374
taskId : pullTasks [ 0 ] . taskId ,
374
- mode : "HubToSink"
375
+ mode : "HubToSink" ,
376
+ url : sink . urls [ 0 ] ,
375
377
} ;
376
378
377
379
await ReplicationTestContext . addWatcherToReplicationTopology ( sink , pull , ...hub . urls ) ;
@@ -517,7 +519,8 @@ async function setupPullReplication(remoteName: string, sink: IDocumentStore, ..
517
519
database : store . database ,
518
520
connectionStringName : "ConnectionString-" + store . database ,
519
521
hubName : remoteName ,
520
- mode : "HubToSink"
522
+ mode : "HubToSink" ,
523
+ url : sink . urls [ 0 ] ,
521
524
} ;
522
525
523
526
resList . push ( await ReplicationTestContext . addWatcherToReplicationTopology ( sink , pull , ...store . urls ) ) ;
0 commit comments