Comments (7)
cc @benmoss
from bosh-agent.
Hey @voelzmo, we have a story in our backlog to get rid of this very line. We introduced it as a bit of a hack because the Windows API we're using appears to be asynchronous without any obvious way to determine when the changes have taken effect. We agree it's not a great solution so we're going to have to find out a better way.
from bosh-agent.
Thanks @benmoss — Amin & I just ran into this problem, too.
from bosh-agent.
@benmoss thanks for the hint. The comment in the story doesn't really sound like you would get to that soon, right? For me this is really an issue when you're touching the net
package in the agent. The whole WindowsNetManagerTest
takes more than 1 minute now, which makes running the package tests not really suiteable for quick turnarounds...
from bosh-agent.
It was looked at last week and we tried to figure out a way to poll something in Windows to see when the changes have taken effect, but couldn't. We reprioritized it because of this feedback. The original impetus was more of a code quality thing, but actually slowing down development cycles makes this a higher priority. At worst we can isolate the tests with something like what Kubernetes does here as a short-term solution for you.
from bosh-agent.
@benmoss use Clock eg
Line 171 in 41c0683
from bosh-agent.
I've changed it to inject a clock for now as part of fd376ea.
There's still just a basic delay instead of waiting for the actual effect but now the tests take 700ms to pass instead of 60s.
from bosh-agent.
Related Issues (20)
- bosh agent may enter endless loop of restart after restarting network HOT 9
- Bosh agent paniced during host routing parsing HOT 4
- DNS entries from cloud-config are not getting updated correctly post bosh deployment HOT 4
- systemd-journald can not create new system journal HOT 1
- bosh-agent reporting erroneous disk data on bionic HOT 3
- Unable to mount a persistent disk with Bionic Stemcell on Softlayer HOT 22
- Agent panics from sfdisk output
- bin/test dev script is broken HOT 5
- bin/test-bosh-integration dev script is broken HOT 6
- sfdisk -uM causes partitioning to fail on some linux platforms HOT 4
- Unit test script is broken in main HOT 3
- Agent could be blocked by blobstore access issues HOT 8
- Windows agent is not able to gracefully shutdown job processes HOT 1
- connection flooding from bosh-agents whilst director is unavailable HOT 10
- [Windows] Failing process not reliably reported HOT 1
- (question) Would it be desired to have BTRFS as an alternative filesystem? HOT 2
- Modify the default setup of connection between agent and nats on director HOT 2
- Device path resolution times out for aws and ali HOT 25
- Persistent disk resize fails to handle linux sparse files, resulting in filling up target persistent disk
- Agent fails to boot on Noble Numbat pre-release stemcells
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 bosh-agent.