Code Monkey home page Code Monkey logo

Comments (9)

freeekanayaka avatar freeekanayaka commented on July 22, 2024

To run the tests, invoke make check. The best thing is to look at the .travis.yml file in the repository, which contains the build and test instruction for the Travis builds of raft.

from raft.

179416326 avatar 179416326 commented on July 22, 2024

Thanks, following the Travic builds, i can run test now, but still there were some errors, here is my test-suite.log, i cannot find anything wrong. Maybe my clang version? Please have a look.

clang version 3.8.0-2ubuntu4 (tags/RELEASE_380/final)
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/bin

from raft.

179416326 avatar 179416326 commented on July 22, 2024

test-suite.log

from raft.

freeekanayaka avatar freeekanayaka commented on July 22, 2024

It seems you are running the tests as root, or as some sort of privileged user. At least 2 of the 3 tests that are failing should be due to that.

from raft.

179416326 avatar 179416326 commented on July 22, 2024

Yes, that is the problem, all 5 tests passed. Besides raft example, is there any dqlite test example to follow?

from raft.

freeekanayaka avatar freeekanayaka commented on July 22, 2024

Yes, that is the problem, all 5 tests passed. Besides raft example, is there any dqlite test example to follow?

I don't understand this question. What are you trying to do?

from raft.

179416326 avatar 179416326 commented on July 22, 2024

I mean is there any example to test dqlite function in RAFT, like "./example/cluster" in RAFT.

from raft.

freeekanayaka avatar freeekanayaka commented on July 22, 2024

Look at the dqlite demo program. Note that it's written in Go, not in C, because at the moment there is no official C client for dqlite, only the server is in C.

from raft.

179416326 avatar 179416326 commented on July 22, 2024

Thanks, i will test the demo.

from raft.

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.