Comments (5)
@pawelplsi @Weirdo914 I got it (after 2 hours of loop working)
from django-netjsongraph.
Likely has to do with mutable data structures, but it's just speculation.
from django-netjsongraph.
Could you provide more details? (like package versions) I had been running that test in a loop for an hour without a fail.
from django-netjsongraph.
@pawelplsi yeah same here, I also had no fail
from django-netjsongraph.
I have made several measurements which showed that this issue can be sometimes caused by lag spikes, especially in database queries, these lag spikes can cause tested links to expire before they are supposed to (expire time is 0.1s, the latency can sometimes be as high).
I think, to avoid such issues, we should avoid using directly functions like sleep()
in tests.
In this PR: #105, I have implemented mock-tests using the freezegun library to make them more reliable and independent of the machine load.
from django-netjsongraph.
Related Issues (20)
- Dead Link Of Requires.io HOT 4
- Use jsonfield instead of jsonfield2
- [admin] URL to open graph
- [tests] Incorrect testcase "test_topology_viewonsite"
- [gsoc2020] Add deprecation notice
- Potential dependency conflicts between django-netjsongraph and django HOT 4
- [gsoc2020] Add tutorial to move to openwisp-network-topology
- About Nodes And Links HOT 1
- Vagrant HOT 3
- [travis] Add pending migration check
- Is it possible to add simple visual flourishes to distinguish between different IoT devices(UX improvement) using just the UI
- Update to the latest DRF version
- Can't update node JSON HOT 1
- Using django-netjsongraph with Networkx HOT 1
- attribute of 'TopologyAdmin' HOT 1
- [django] Add support for django 2.2 HOT 1
- Why doesn't the browser show anything? HOT 1
- [requirements] Update dependencies & drop python 2 support
- [dependencies] Add support for django 2.1 and 2.2 HOT 2
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 django-netjsongraph.