@@ -76,7 +76,7 @@ import {
76
76
import { assert , fail } from '../../../src/util/assert' ;
77
77
import { AsyncQueue , TimerId } from '../../../src/util/async_queue' ;
78
78
import { FirestoreError } from '../../../src/util/error' ;
79
- import { AnyDuringMigration , AnyJs , AutoId } from '../../../src/util/misc' ;
79
+ import { AnyDuringMigration , AnyJs } from '../../../src/util/misc' ;
80
80
import * as obj from '../../../src/util/obj' ;
81
81
import { ObjectMap } from '../../../src/util/obj_map' ;
82
82
import { Deferred , sequence } from '../../../src/util/promise' ;
@@ -385,9 +385,10 @@ abstract class TestRunner {
385
385
constructor (
386
386
protected readonly platform : TestPlatform ,
387
387
private sharedWrites : SharedWriteTracker ,
388
+ clientIndex : number ,
388
389
config : SpecConfig
389
390
) {
390
- this . clientId = AutoId . newId ( ) ;
391
+ this . clientId = `client ${ clientIndex } ` ;
391
392
this . databaseInfo = new DatabaseInfo (
392
393
new DatabaseId ( 'project' ) ,
393
394
'persistenceKey' ,
@@ -1424,12 +1425,14 @@ export async function runSpec(
1424
1425
runners [ clientIndex ] = new IndexedDbTestRunner (
1425
1426
platform ,
1426
1427
outstandingMutations ,
1428
+ clientIndex ,
1427
1429
config
1428
1430
) ;
1429
1431
} else {
1430
1432
runners [ clientIndex ] = new MemoryTestRunner (
1431
1433
platform ,
1432
1434
outstandingMutations ,
1435
+ clientIndex ,
1433
1436
config
1434
1437
) ;
1435
1438
}
0 commit comments