@@ -174,7 +174,6 @@ class ReplicatedRepositoryTest {
174
174
175
175
assertEquals(clients.size * 10 , createdNodes.size)
176
176
177
- println (" writing done. waiting for convergence." )
178
177
runCatching {
179
178
withTimeout(30 .seconds) {
180
179
models.forEach { model ->
@@ -196,7 +195,6 @@ class ReplicatedRepositoryTest {
196
195
} finally {
197
196
models.forEach { it.dispose() }
198
197
}
199
- println (" all successful" )
200
198
}
201
199
202
200
private interface IRandomOperation {
@@ -302,14 +300,11 @@ class ReplicatedRepositoryTest {
302
300
},
303
301
)
304
302
305
- var iterations = 0
306
303
while (true ) {
307
304
val applicableOps = clients.flatMap { createOpsForClient(it) }.filter { it.isApplicable() }
308
305
if (applicableOps.isEmpty()) break
309
306
applicableOps.random(rand).apply ()
310
- iterations++
311
307
}
312
- println (" Iterations: $iterations " )
313
308
314
309
fun getChildren (model : CLVersion ): SortedSet <String > {
315
310
return getChildren(PBranch (model.getTree(), IdGeneratorDummy ()))
@@ -325,8 +320,6 @@ class ReplicatedRepositoryTest {
325
320
for (client in clients) {
326
321
assertEquals(createdNodes, getChildren(localVersions[client]!! ))
327
322
}
328
-
329
- println (" all successful" )
330
323
}
331
324
332
325
@Ignore
@@ -392,7 +385,6 @@ class ReplicatedRepositoryTest {
392
385
393
386
assertEquals((clients.size + v1clients.size) * 10 , createdNodes.size)
394
387
395
- println (" writing done. waiting for convergence." )
396
388
runCatching {
397
389
withTimeout(30 .seconds) {
398
390
models.forEach { model ->
@@ -422,7 +414,6 @@ class ReplicatedRepositoryTest {
422
414
v1models.forEach { it.dispose() }
423
415
v1clients.forEach { it.dispose() }
424
416
}
425
- println (" all successful" )
426
417
}
427
418
428
419
@Ignore
0 commit comments