Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/acceptance-test-harness
  Commit: bf1ceb4b74c4e171b3222fc791e5d99ed9643c00
      
https://github.com/jenkinsci/acceptance-test-harness/commit/bf1ceb4b74c4e171b3222fc791e5d99ed9643c00
  Author: James Nord <[email protected]>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

  Changed paths:
    M src/main/java/org/jenkinsci/test/acceptance/po/PluginManager.java

  Log Message:
  -----------
  Installing plugins was flaky (#1318)

it has been observed that plugin installation was flaky as the
installation clicked the button but then immediatly looked like there
where no plugins to update.

the HAR showed that the response to post the install had not finished
and then the call to the UpdateCenter was made and as the previous call
had not completed, there where no installation jobs present and so
deeemed that there was nothing to wait for.  the check then fails as the
plugin has not infact been installed

```
java.lang.IllegalArgumentException: workflow-multibranch plugin not installed
        at org.jenkinsci.test.acceptance.po.Plugin.<init>(Plugin.java:49)
        at org.jenkinsci.test.acceptance.po.Jenkins.getPlugin(Jenkins.java:214)
        at 
org.jenkinsci.test.acceptance.po.UpdateCenter.waitForInstallationToComplete(UpdateCenter.java:98)
        at 
org.jenkinsci.test.acceptance.po.PluginManager.installPlugins(PluginManager.java:259)
        at 
org.jenkinsci.test.acceptance.junit.WithPlugins$RuleImpl$1.installPlugins(WithPlugins.java:191)
```


-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Commits" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/acceptance-test-harness/push/refs/heads/master/bba2a4-bf1ceb%40github.com.

Reply via email to