Branch: refs/heads/master
  Home:   https://github.com/jenkinsci/apache-httpcomponents-client-4-api-plugin
  Commit: 39b59dafca66fccf2ec2335d4c24cc08e170c511
      
https://github.com/jenkinsci/apache-httpcomponents-client-4-api-plugin/commit/39b59dafca66fccf2ec2335d4c24cc08e170c511
  Author: Mark Waite <mark.earl.wa...@gmail.com>
  Date:   2023-09-11 (Mon, 11 Sep 2023)

  Changed paths:
    A 
src/test/java/io/jenkins/plugins/httpclient/RobustHTTPClientIntegrationTest.java
    M src/test/java/io/jenkins/plugins/httpclient/RobustHTTPClientTest.java

  Log Message:
  -----------
  Add RobustHTTPClient tests (#176)

* Add a RobustHTTPClient downloadFile test
* Test the retry of downloadFile

Also revises the existing test to use example.com instead of x.com since
there is now a site with the x.com domain name.

Switched to hamcrest assertions because I'm more comfortable with
their output.

* Assert exception for invalid URL
* Test with HTTP 404
* Test stop after one attempt
* Test download with timeout exception
* Second sanitize test does not require JenkinsRule
* Move integration test to a new class

Creates a new test that checks santiize() behavior if assertions are
disabled.  The test is executed if Maven is called with:

  mvn clean -DenableAssertions=false verify


-- 
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/apache-httpcomponents-client-4-api-plugin/push/refs/heads/master/5318d5-39b59d%40github.com.

Reply via email to