Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42150

Add latency options to mock scm impl in SCM API's test artifact

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Need to be able to write tests where there is at least some delay in the SCM to allow simulating real world behaviour for some event handling tests

        Attachments

          Issue Links

            Activity

            stephenconnolly Stephen Connolly created issue -
            stephenconnolly Stephen Connolly made changes -
            Field Original Value New Value
            Remote Link This issue links to "PR#31 (Web Link)" [ 15462 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/test/java/jenkins/scm/impl/mock/MockLatency.java
            src/test/java/jenkins/scm/impl/mock/MockSCMController.java
            http://jenkins-ci.org/commit/scm-api-plugin/b89eac3ca21e8b2717223e7405ad060a30eb32b9
            Log:
            [FIXED JENKINS-42150] Add latency options to mock scm impl in SCM API's test artifact

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/test/java/jenkins/scm/impl/mock/MockLatency.java src/test/java/jenkins/scm/impl/mock/MockSCMController.java http://jenkins-ci.org/commit/scm-api-plugin/b89eac3ca21e8b2717223e7405ad060a30eb32b9 Log: [FIXED JENKINS-42150] Add latency options to mock scm impl in SCM API's test artifact
            scm_issue_link SCM/JIRA link daemon made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/test/java/jenkins/scm/impl/mock/MockLatency.java
            src/test/java/jenkins/scm/impl/mock/MockSCMController.java
            http://jenkins-ci.org/commit/scm-api-plugin/a6d46f93d1deafc6ecee5af6092c7800aa5b33a9
            Log:
            JENKINS-42150 Some minor improvements

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/test/java/jenkins/scm/impl/mock/MockLatency.java src/test/java/jenkins/scm/impl/mock/MockSCMController.java http://jenkins-ci.org/commit/scm-api-plugin/a6d46f93d1deafc6ecee5af6092c7800aa5b33a9 Log: JENKINS-42150 Some minor improvements
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/test/java/jenkins/scm/impl/mock/MockLatency.java
            src/test/java/jenkins/scm/impl/mock/MockSCMController.java
            http://jenkins-ci.org/commit/scm-api-plugin/3abf20938e89f83681ef2a67ecb8ad1f1fb4be20
            Log:
            Merge pull request #31 from stephenc/jenkins-42150

            [FIXED JENKINS-42150] Add latency options to mock scm impl in SCM API's test artifact

            Compare: https://github.com/jenkinsci/scm-api-plugin/compare/96c07464a896...3abf20938e89

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/test/java/jenkins/scm/impl/mock/MockLatency.java src/test/java/jenkins/scm/impl/mock/MockSCMController.java http://jenkins-ci.org/commit/scm-api-plugin/3abf20938e89f83681ef2a67ecb8ad1f1fb4be20 Log: Merge pull request #31 from stephenc/jenkins-42150 [FIXED JENKINS-42150] Add latency options to mock scm impl in SCM API's test artifact Compare: https://github.com/jenkinsci/scm-api-plugin/compare/96c07464a896...3abf20938e89
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/test/java/jenkins/scm/impl/mock/MockSCMController.java
            src/test/java/jenkins/scm/impl/mock/MockSCMNavigator.java
            src/test/java/jenkins/scm/impl/mock/MockSCMSource.java
            http://jenkins-ci.org/commit/scm-api-plugin/ec8b944bd3e9baaff342d2cec3964c6301123a63
            Log:
            JENKINS-42150 Fix locks when applying latency

            • Also fix locks when applying faults
            • Also fix includes check in mock impl
            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/test/java/jenkins/scm/impl/mock/MockSCMController.java src/test/java/jenkins/scm/impl/mock/MockSCMNavigator.java src/test/java/jenkins/scm/impl/mock/MockSCMSource.java http://jenkins-ci.org/commit/scm-api-plugin/ec8b944bd3e9baaff342d2cec3964c6301123a63 Log: JENKINS-42150 Fix locks when applying latency Also fix locks when applying faults Also fix includes check in mock impl
            stephenconnolly Stephen Connolly made changes -
            Status Resolved [ 5 ] Closed [ 6 ]
            jamesdumay James Dumay made changes -
            Remote Link This issue links to "CloudBees Internal OSS-2006 (Web Link)" [ 18464 ]

              People

              • Assignee:
                stephenconnolly Stephen Connolly
                Reporter:
                stephenconnolly Stephen Connolly
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: