Coder Social home page Coder Social logo

httpclient-2.1.5.2 fails tests about httpclient HOT 3 CLOSED

nahi avatar nahi commented on July 18, 2024
httpclient-2.1.5.2 fails tests

from httpclient.

Comments (3)

nahi avatar nahi commented on July 18, 2024

Hmm. Tests works for me...

from httpclient.

graaff avatar graaff commented on July 18, 2024

I've just tried again with a fresh clone of httpclient, and I still get errors 2) and 3), so it looks like 1) is now solved.

  1. appears to be a timezone issue, this probably happens because I am in a different timezone from you and have set my system accordingly. On second inspection I believe that 2) is caused by the same issue as it seems only the timestamp differs.

from httpclient.

graaff avatar graaff commented on July 18, 2024

httpclient 2.2.0.1 still has similar test failures:

  1. Failure:
    test_cookies(TestHTTPClient) [./test/test_httpclient.rb:942]:
    <"http://rubyforge.org/account/login.php\tsession_ser\tLjEwMy45Ni40Ni0q%2A-fa0537de8cc31\t2000000000\t.rubyforge.org\t/\t13\nhttp://rubyforge.org/account/login.php\tfoo\tbar\t1924902000\trubyforge.org\t/account\t1\n"> expected to be =~
    </http://rubyforge.org/account/login.php foo bar 1924873200 rubyforge.org /account 1/>.

  2. Failure:
    test_response(TestHTTPClient) [./test/test_httpclient.rb:1109]:
    <["",
    "Content-Length: 8",
    "Content-Type: text/plain",
    "Last-Modified: Fri, 31 Dec 1999 15:00:00 GMT",
    "Status: 200 OK",
    "response"]> expected but was
    <["",
    "Content-Length: 8",
    "Content-Type: text/plain",
    "Last-Modified: Fri, 31 Dec 1999 23:00:00 GMT",
    "Status: 200 OK",
    "response"]>.

  3. Failure:
    test_response_cookies(TestHTTPClient) [./test/test_httpclient.rb:1184]:
    <["",
    "Content-Length: 8",
    "Content-Type: text/plain",
    "Last-Modified: Fri, 31 Dec 1999 15:00:00 GMT",
    "Set-Cookie: CUSTOMER=WILE_E_COYOTE; path=/; expires=Wednesday, 09-Nov-99 23:12:40 GMT",
    "Set-Cookie: PART_NUMBER=ROCKET_LAUNCHER_0001; path=/",
    "Status: 200 OK",
    "response"]> expected but was
    <["",
    "Content-Length: 8",
    "Content-Type: text/plain",
    "Last-Modified: Fri, 31 Dec 1999 23:00:00 GMT",
    "Set-Cookie: CUSTOMER=WILE_E_COYOTE; path=/; expires=Wednesday, 09-Nov-99 23:12:40 GMT",
    "Set-Cookie: PART_NUMBER=ROCKET_LAUNCHER_0001; path=/",
    "Status: 200 OK",
    "response"]>.

151 tests, 626 assertions, 3 failures, 0 errors

from httpclient.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.