File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed
model-datastructure/src/commonTest/kotlin Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -28,15 +28,15 @@ class LinearHistoryTest {
28
28
val initialTree = CLTree .builder(ObjectStoreCache (MapBaseStore ())).repositoryId(" LinearHistoryTest" ).build()
29
29
30
30
@Test
31
- fun simpleTest1 () {
31
+ fun noCommonHistory () {
32
32
val v20 = version(20 , null )
33
33
val v21 = version(21 , null )
34
34
35
35
assertHistory(v20, v21, listOf (v20, v21))
36
36
}
37
37
38
38
@Test
39
- fun simpleTest2 () {
39
+ fun divergedByTwoCommits () {
40
40
val v10 = version(10 , null )
41
41
val v20 = version(20 , v10)
42
42
val v21 = version(21 , v10)
@@ -45,7 +45,9 @@ class LinearHistoryTest {
45
45
}
46
46
47
47
@Test
48
- fun linearHistoryPerformance () {
48
+ fun knownPerformanceIssue () {
49
+ // This test was dumped from actual case discovered during a profiling session.
50
+
49
51
val v30000003a = version(12884901946 , null )
50
52
val v1000004d1 = version(4294968529 , v30000003a)
51
53
val v1000004d3 = version(4294968531 , v1000004d1)
You can’t perform that action at this time.
0 commit comments