mirror of
https://github.com/jenkinsci/jenkins.git
synced 2026-11-15 13:02:19 +00:00
[FIXED JENKINS-25655] Incorrect caching from entrySet sometimes caused incorrect results.
Caused a failure in hudson.plugins.promoted_builds.conditions.ManualConditionTest.testManualPromotionProcessViaWebClient when run against 1.580.1.
This commit is contained in:
1 parent
1568166e76
commit
b76e7bf998
3 files changed
+15
No files matched your search
@@ -414,6 +414,13 @@ public class AbstractLazyLoadRunMapTest extends Assert {
|
||||
assertEquals(0, b.entrySet().size());
|
||||
}
|
||||
|
||||
@Issue("JENKINS-25655")
|
||||
@Test public void entrySetChanges() {
|
||||
assertEquals(3, a.entrySet().size());
|
||||
a.put(new Build(7, "D"));
|
||||
assertEquals(4, a.entrySet().size());
|
||||
}
|
||||
|
||||
@Issue("JENKINS-18065")
|
||||
@Test
|
||||
public void entrySetContains() {
|
||||
|
||||
Reference in new issue
Block a user