GithubHelp home page GithubHelp logo

Error on make test about prime_server HOT 4 OPEN

ismailsunni avatar ismailsunni commented on August 16, 2024
Error on make test

from prime_server.

Comments (4)

kevinkreiser avatar kevinkreiser commented on August 16, 2024

try with just make test adding -j8 tell its it run up to 8 of them at the same time which can take a long time if you dont actually have a decent CPU.

from prime_server.

ismailsunni avatar ismailsunni commented on August 16, 2024

Thanks, @kevinkreiser for the reply.
I tried to run make test only, but I still got the same issue. I also tried with -j4 and -j6. Both also gave the same issue.

My CPU is Intel® Core™ i7-8550U CPU @ 1.80GHz × 8 (XPS 13). Perhaps it's not decent enough?

from prime_server.

kevinkreiser avatar kevinkreiser commented on August 16, 2024

@ismailsunni try this, go into each test and increase the alarm threshold to a large number and let it run.

https://github.com/kevinkreiser/prime_server/blob/master/test/http.cpp#L529

are these tests really running for 5 minutes on your end before failing? your clock speed seems pretty slow but still i wouldnt expect them to take 5 minutes. on my beast mode ryzen cpu they take 15 seconds each, on CI inside a VM they take about a minute each. the alarms are there because when there is a bug in the code the most likely thing is that the tests dont finish because the threads join forever waiting for the last request or response that was never sent or received

from prime_server.

kevinkreiser avatar kevinkreiser commented on August 16, 2024

also what OS are you on and what version of zeromq do you have

from prime_server.

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.