You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/transport/AbstractTransportVersionFuncTest.groovy
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -116,7 +116,7 @@ class AbstractTransportVersionFuncTest extends AbstractGradleFuncTest {
Copy file name to clipboardExpand all lines: build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/transport/ResolveTransportVersionConflictFuncTest.groovy
+31Lines changed: 31 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -96,4 +96,35 @@ class ResolveTransportVersionConflictFuncTest extends AbstractTransportVersionFu
96
96
assertResolveAndValidateSuccess(result)
97
97
assertUpperBound("9.2", "existing_92,8123000")
98
98
}
99
+
100
+
def"upstream changes don't affect merge"() {
101
+
given:
102
+
// setup main with 2 commits, but we will only merge in the first one
Copy file name to clipboardExpand all lines: build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/transport/TransportVersionGenerationFuncTest.groovy
+17Lines changed: 17 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -496,4 +496,21 @@ class TransportVersionGenerationFuncTest extends AbstractTransportVersionFuncTes
496
496
assertUpperBound("9.2", "new_tv,8124000")
497
497
assertReferableDefinition("new_tv", "8124000")
498
498
}
499
+
500
+
def"generation is idempotent on upstream changes"() {
Copy file name to clipboardExpand all lines: build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/transport/TransportVersionResourcesService.java
0 commit comments