Comments (8)
Just published 0.9.3 which should have a fix for this. Thanks again for reporting!
from nextest.
sure. i tried it 5 times without any visible leakage. I'll continue using it and report back if i see any issues. For now, I'd just accept the win and close this issue with a landed PR. thanks for the quick turn and the cool tool!
from nextest.
Thank you! To be clear, are you running within the nushell shell? I'm asking because I haven't seen this across months of testing, and nextest is careful to lock stderr for each line so at least in principle it shouldn't happen.
However, I do believe throwing in a BufWriter
would be beneficial -- let me see if I can get a fix out soon.
from nextest.
hi @sunshowers, i'm running in Windows 11 inside Windows Terminal using PowerShell Core.
Name Value
---- -----
PSVersion 7.2.1
PSEdition Core
GitCommitId 7.2.1
OS Microsoft Windows 10.0.22000
Platform Win32NT
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0
I've also noticed something else that may be a tip for all your windows users. Maybe you already know this but I just missed it. Here's the tip. If you're on Windows and you're using Microsoft Defender, it's good to add an exclusion for your build folder. It took my run from 80 seconds to 10. I'm not sure if that's related to this ansi-leakage or not.
from nextest.
Thanks for the info about the enviroment! Ahh yeah, antivirus stuff on Windows is pretty unfortunate.
Going to get a fix for this out in a couple of hours.
from nextest.
I'm really kind of thinking it's related to Microsoft Defender because when Defender is running on all these files, it pegs the cpu at 100% and that's why some of the tests are slow in the screenshot. So, one way to test this is to have a cpu stress program running while you run nextest to see if that's causing the leakage.
from nextest.
ok. let me know when you have something to try. i have just reproduced it again, even with it running at full speed with the folder in my defender exception list.
from nextest.
Thanks @fdncred! Could you try:
cargo install --git https://github.com/sunshowers/nextest --branch bufwriter --bin cargo-nextest
and see if that fixes this issue?
from nextest.
Related Issues (20)
- Incorrect pluralization in test output HOT 1
- Is there a way to repeat a test in case it is unstable until it fails? HOT 3
- JUnit does not respect `CARGO_TARGET_DIR` environment variable. HOT 1
- Skipped tests not shown in jUnit output when status-level="all" HOT 3
- Add a way to prevent parallel invocations of the binary under test HOT 1
- feat: Support custom targets HOT 6
- Print statements cause creation of test list to fail. HOT 1
- Add support for resolving custom targets in platform overrides HOT 1
- Add a way to include custom properties into junit report HOT 2
- Support Cargo's `--timings` flag HOT 2
- No archive option?! HOT 1
- Run fast/slow tests first HOT 2
- nextest's unit test can't catch signal on Windows platform HOT 3
- some of the test report error: unexpected argument '--exact' found HOT 2
- Add detection for custom test harnesses HOT 3
- bug: cannot find tests with debug level `line-tables-only` HOT 3
- Custom properties per test in JUnit report HOT 2
- streamline bin injection into integration test HOT 4
- v0.9.56 Always Fails Due to Missing Config File HOT 10
- [post-mortem] improve yank flow for cargo-nextest HOT 4
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 nextest.