Skip to content

Commit bead0d8

Browse files
committed
chore: removed debug output in ReplicatedRepositoryTest
1 parent 6fe90ee commit bead0d8

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

model-server/src/test/kotlin/org/modelix/model/server/ReplicatedRepositoryTest.kt

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,6 @@ class ReplicatedRepositoryTest {
174174

175175
assertEquals(clients.size * 10, createdNodes.size)
176176

177-
println("writing done. waiting for convergence.")
178177
runCatching {
179178
withTimeout(30.seconds) {
180179
models.forEach { model ->
@@ -196,7 +195,6 @@ class ReplicatedRepositoryTest {
196195
} finally {
197196
models.forEach { it.dispose() }
198197
}
199-
println("all successful")
200198
}
201199

202200
private interface IRandomOperation {
@@ -302,14 +300,11 @@ class ReplicatedRepositoryTest {
302300
},
303301
)
304302

305-
var iterations = 0
306303
while (true) {
307304
val applicableOps = clients.flatMap { createOpsForClient(it) }.filter { it.isApplicable() }
308305
if (applicableOps.isEmpty()) break
309306
applicableOps.random(rand).apply()
310-
iterations++
311307
}
312-
println("Iterations: $iterations")
313308

314309
fun getChildren(model: CLVersion): SortedSet<String> {
315310
return getChildren(PBranch(model.getTree(), IdGeneratorDummy()))
@@ -325,8 +320,6 @@ class ReplicatedRepositoryTest {
325320
for (client in clients) {
326321
assertEquals(createdNodes, getChildren(localVersions[client]!!))
327322
}
328-
329-
println("all successful")
330323
}
331324

332325
@Ignore
@@ -392,7 +385,6 @@ class ReplicatedRepositoryTest {
392385

393386
assertEquals((clients.size + v1clients.size) * 10, createdNodes.size)
394387

395-
println("writing done. waiting for convergence.")
396388
runCatching {
397389
withTimeout(30.seconds) {
398390
models.forEach { model ->
@@ -422,7 +414,6 @@ class ReplicatedRepositoryTest {
422414
v1models.forEach { it.dispose() }
423415
v1clients.forEach { it.dispose() }
424416
}
425-
println("all successful")
426417
}
427418

428419
@Ignore

0 commit comments

Comments
 (0)