Comments (3)
It shouldn't try to connect to wild nodes. Instead, it should build and run a node from N time ago and test against that.
from c-toxcore.
There are two parts to this, one easy part and one more involved part:
- Easy: fetch a git commit from the support horizon (e.g. 1 month ago) and replace the test suite from the to-be-tested clone (i.e. the one cloned by Travis CI) with the old one. This validates that we're source-compatible with the version of a month ago (including internal APIs, but perhaps we could just replace the
tox*
test files, not the internal unit tests). - Harder: fetch a git commit from the support horizon and build a test program with it. Build the same test program with the current code and run both of them. This test program is yet to be written, and should run some simple tests like adding each other and sending messages.
from c-toxcore.
2 is the reason I opened this issue. (Because you're right, 1 would be near trivial)
Perhaps we should consider caching the tests now, with version numbers, then scan the version numbers, and try to get them to interact.
That wouldn't be nearly as hard, and would be a better test of what would happen in the real world. I.e. it might be using an older version of libsodium which would be what the previous version of clients would use.
We should also consider limiting it to major or minor version changes, only. As they should be the only ones affected.
from c-toxcore.
Related Issues (20)
- Remove any memcpy of integer types
- Regression: cmake fails when libgtest-dev is installed but libgmock-dev is not
- create_extended_keypair should use Random and be made deterministic for fuzzing HOT 3
- Remove `Tox*` from log callback
- Add wrappers for `crypto_sign_*` functions, stop using sodium directly in modules other than crypto_core
- Savedata is not endianness portable HOT 3
- c-toxcore releases should include generated Python bindings HOT 13
- Add abi compliance checker to CI
- Friend requests with very long messages are ignored
- NGC: provide a stable peer list for NGC groups HOT 4
- NGC: spam protect groups by setting mute for all new peers HOT 2
- v0.2.19 release? HOT 4
- unbootstrap HOT 16
- error compiling on fedora HOT 4
- Some new features for better privacy and security HOT 9
- Tox_Options.operating_system is not clear about it being an experimental option HOT 2
- File transfer stuck at queue HOT 3
- meybe add https://radicle.xyz/ repo HOT 2
- chore: make it more clear when and why we bumped "cmp" version and that we are now using a fork of it
- make tox use loopback device on linux when UDP and local lan is turned on HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from c-toxcore.