Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/ssh-agent-plugin
  Commit: e21afe5b3aec967da348e43ec28f245030cbb886
      
https://github.com/jenkinsci/ssh-agent-plugin/commit/e21afe5b3aec967da348e43ec28f245030cbb886
  Author: James Nord <jtn...@users.noreply.github.com>
  Date:   2023-04-28 (Fri, 28 Apr 2023)

  Changed paths:
    M src/test/java/com/cloudbees/jenkins/plugins/sshagent/SSHAgentBase.java

  Log Message:
  -----------
  Fix flaky test

observed several failures due to

```
java.net.BindException: Address already in use
        at java.base/sun.nio.ch.Net.bind0(Native Method)
        at java.base/sun.nio.ch.Net.bind(Net.java:459)
        at java.base/sun.nio.ch.Net.bind(Net.java:448)
        at 
java.base/sun.nio.ch.AsynchronousServerSocketChannelImpl.bind(AsynchronousServerSocketChannelImpl.java:164)
        at 
org.apache.sshd.common.io.nio2.Nio2Acceptor.bind(Nio2Acceptor.java:83)
        at 
org.apache.sshd.common.io.nio2.Nio2Acceptor.bind(Nio2Acceptor.java:173)
        at org.apache.sshd.server.SshServer.start(SshServer.java:331)
        at 
com.cloudbees.jenkins.plugins.sshagent.SSHAgentBase.startMockSSHServer(SSHAgentBase.java:171)
```

rather than obtain a port ant t1 and then use it later at t2 just get the SSH 
server to use a port and then find out which port is actually being used.


  Commit: 878b53c895119c248eac9dd07da155a47aa99c88
      
https://github.com/jenkinsci/ssh-agent-plugin/commit/878b53c895119c248eac9dd07da155a47aa99c88
  Author: Robert Sandell <rsand...@cloudbees.com>
  Date:   2023-04-28 (Fri, 28 Apr 2023)

  Changed paths:
    M src/test/java/com/cloudbees/jenkins/plugins/sshagent/SSHAgentBase.java

  Log Message:
  -----------
  Merge pull request #127 from jtnord/deflate-tests

Fix flaky test


Compare: 
https://github.com/jenkinsci/ssh-agent-plugin/compare/7d1475e7366a...878b53c89511

-- 
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 jenkinsci-commits+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-commits/jenkinsci/ssh-agent-plugin/push/refs/heads/master/7d1475-878b53%40github.com.

Reply via email to